TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JACK LOBINGIER
from: ROGER BELL_WEST
date: 2017-02-13 12:33:00
subject: Re: SCP script with Pytho

On 2017-02-13, Jack Lobingier wrote:
>I have an SCP script that auto completes just fine from the terminal window in
Pi.  When I use either subprocess or os to try and have it run under Python it
does not do the file transfer from Pi to my Ubuntu machine.  What am I doing
wrong?  Here is 
the script:

Can you be more specific about the environment - are you running the
Python program from a terminal window, or in some other way (e.g. cron
job)? What authentication is scp using?

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