TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: KEES NUYT
date: 2018-05-18 12:37:00
subject: Re: ftp causing invalid s

On Fri, 18 May 2018 10:23:03 +0100, RobH  wrote:

> Traceback (most recent call last)
>   File "intruder_recmotion.py",  line 37, in 
>    shutil.copyfile(RAMname, NASname)
>   File "/usr/lib/python 2.7/shutil.py", line 83, in copyfile with
> open(dst, 'wb') as fdst:
> IOError: [Errno 2] No such file or directory:
> '/192.168.0.22/mnt/CCTV/PiZero/2018-16-16_11.25.36.h264'

As someone else said before, the path to copy to as given in the script
should not contain the NAS IP-address.


Change
 /192.168.0.22/mnt/CCTV/PiZero
to
 /mnt/CCTV/PiZero

--
Kees Nuyt

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