quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Sanchez Albarracin" <aalbarracin...@hotmail.com>
Subject Re: os.system() doesn't work
Date Tue, 16 Dec 2003 15:02:40 GMT
It could be but this is the two lines of code involved:
s = "pscp -pw root %s root@%s:/usr/tmp/" % ("oss.dat","192.168.22.14")
os.system(s)
Thanks anyway...


>From: "Gregory (Grisha) Trubetskoy" <grisha@apache.org>
>To: Alberto Sanchez Albarracin <aalbarracindev@hotmail.com>
>CC: python-dev@httpd.apache.org
>Subject: Re: os.system() doesn't work
>Date: Mon, 15 Dec 2003 22:38:55 -0500 (EST)
>
>
>It's probably asking for a password? Just a guess.
>
>Grisha
>
>On Tue, 16 Dec 2003, Alberto Sanchez Albarracin wrote:
>
> > I'm working with apache 2 and window 2000 server.
> > os.system("pscp somefile user@ipaddress:/usr/tmp") perform pscp but it
> > doesn't do the remote copy, if i watch the task manager i can see the
> > pscp.exe task running but it never ends and stays running until I 
>restart
> > the operating system.
> > Somebody knows why is it happend? If it is not the way to do a remote 
>copy,
> > can anyone tell me how to do it ??? Thanks in advance...
> >
> > _________________________________________________________________
> > Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


Mime
View raw message