TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2018-06-15 16:59:00
subject: Re: ftp causing invalid s

On Fri, 15 Jun 2018 16:06:07 +0100, RobH  declaimed the
following:


>I'm not sure what you mean about RAMname and NASName
>
>  RAMname = os.path.join("/run/shm", fname)
>  NASname = os.path.join("/mnt/CCTV/PiZero" , fname)
>

 My full suggestion was to change the camera capture statement (which
was using RAMname) to directly use NASname. THEN comment out the
shutil.copyfile() and the unlink() -- since the camera is no longer
creating the local RAM data file.

 As long as the network speed is fast enough, those changes would mean
the capture file is directly generated in the NAS (or the camera capture
itself will fail with permission problems -- again, ignoring the script,
unless you can copy files from your home directory to /mnt/CCTV/PiZero
without getting an error, the script is not going to succeed.


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

--- 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™.