TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DENNIS LEE BIEBER
from: ROBH
date: 2018-05-23 09:58:00
subject: Re: ftp causing invalid s

On 23/05/18 03:24, Dennis Lee Bieber wrote:
> On Tue, 22 May 2018 20:25:52 +0100, RobH  declaimed the
> following:
>
>
>
>> 1 -rw-r--r-- 1 pi   pi 0 May 21 11:50 2018-050-21_11.50.09.h264
>
>  Must be a mistake in the datetime formatting.. "050" should just be
> "05".  But I don't see it in my prototype...
>
>
>> 1 -rw-r--r-- 1 pi   pi 0 May 20 19:08 2018-20-20_19.08.38.h264
>
>  And those duplicated the day in the month position.
>
>
>  Out of curiousity -- with the .unlink() commented out -- what size do
> the files show in /dev/shm?
>
>  I'm wondering if the camera library isn't flushing/closing the capture
> file before the copy to NAS is done...
>
>

With .unlink commented out the files on the PiZero /dev/shm are all
about 2.8mb in size, from file/properties,
and yet when I:

pi@raspberrypi:~ $  ls -la /mnt/CCTV/PiZero
total 12
drwxr-xrwx 2 pi   pi    0 May 23 09:47 .
drwxr-xr-x 3 pi   pi 4096 May 17 17:36 ..
-rw-r--r-- 1 pi   pi    0 May 21 11:50 2018-050-21_11.50.09.h264
-rw-r--r-- 1 pi   pi    0 May 22 09:46 2018-050-22_09.46.39.h264
-rw-r--r-- 1 pi   pi    0 May 22 09:51 2018-050-22_09.51.12.h264
-rw-r--r-- 1 pi   pi    0 May 22 11:35 2018-050-22_11.34.55.h264
-rw-r--r-- 1 pi   pi    0 May 22 11:44 2018-050-22_11.44.02.h264
-rw-r--r-- 1 pi   pi    0 May 22 11:46 2018-050-22_11.46.02.h264
-rw-r--r-- 1 root pi    0 May 23 09:47 2018-050-23_09.47.38.h264
-rw-r--r-- 1 pi   pi    0 May 19 17:31 2018-19-19_17.31.32.h264
-rw-r--r-- 1 pi   pi    0 May 19 17:40 2018-19-19_17.40.13.h264
-rw-r--r-- 1 pi   pi    0 May 19 17:43 2018-19-19_17.43.42.h264
-rw-r--r-- 1 pi   pi    0 May 20 19:02 2018-20-20_19.01.50.h264
-rw-r--r-- 1 pi   pi    0 May 20 19:08 2018-20-20_19.08.38.h264
-rw-r--r-- 1 pi   pi    0 May 20 20:02 2018-20-20_20.02.21.h264
-rw-r--r-- 1 pi   pi    0 May 20 20:51 2018-20-20_20.51.49.h264

And now they are 0 bytes in size?????

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.