TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: ANDY BURNS
date: 2018-06-04 20:33:00
subject: Re: ftp causing invalid s

RobH wrote:

> This worked fine just now:
>
> pi@raspberrypi:~ $ sudo mount //192.168.0.22/CCTV/PiZero /mnt/CCTV/PiZero
> Password for root@//192.168.0.22/CCTV/PiZero:  ******

hurrah :-)

> I have added this in the fstab file:
> 192.168.0.22:/mnt/CCTV/PiZero /mnt/CCTV/PiZero
                ^^^^
where did that creep back from?

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

once it's mounted you just use the local path you mounted it at

os.path.join("/mnt/CCTV/PiZero", fname)

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