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

On Wed, 13 Jun 2018 20:03:38 +0100, RobH  declaimed the
following:


>     RAMname = os.path.join("/run/shm", fname)
>     NASname = os.path.join("//192.168.0.22/mnt/CCTV/PiZero" , fname)
>

 And as you've been repeatedly told, the path in NASname is supposed to
be the location in the RPi where you put the mount point. It is NOT
supposed to be a reference to the remote device itself.

 Presuming the mount point ON THE RPi is /mnt/CCTV/PiZero then THAT is
what you want in that .join() operation. Take out the //192.168.0.22


>Filesystem                   Size  Used Avail Use% Mounted on
 ^^^^^^^^^^ physical location  path to access it  ^^^^^^^^^^^

>/dev/root                     15G  4.1G  9.9G  30% /
>/dev/mmcblk0p1                42M   21M   21M  51% /boot
>tmpfs                         38M  4.0K   38M   1% /run/user/1000
>//192.168.0.22/CCTV/PiZero/  899G  2.7G  897G   1% /mnt/CCTV/PiZero
 ^^^^^^^^^^ physical location  path to access it  ^^^^^^^^^^^


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