Re: [PHP] Command Line Script

2004-10-30 Thread - Edwin -
Hi, On Sat, 30 Oct 2004 09:42:13 -0400 "Steve Douville" <[EMAIL PROTECTED]> wrote: > > > > If you want to stick with PHP, you're better off using an > > ssh key, so that you're not prompted for the password. > > > > Ahh, okay thanks. If anyone can point me to some useful > docs, I'd appreciate i

Re: [PHP] Command Line Script

2004-10-30 Thread Steve Douville
> > If you want to stick with PHP, you're better off using an ssh key, so that > you're not prompted for the password. > Ahh, okay thanks. If anyone can point me to some useful docs, I'd appreciate it. I've been looking on google but not really sure what's right and what's not. Thanks, Steve --

Re: [PHP] Command Line Script

2004-10-29 Thread Chris Shiflett
--- Steve Douville <[EMAIL PROTECTED]> wrote: > I'm trying to write something to run as a cron job that will > perform an sftp command and then run a batch file. I was trying > to use: > > system("sftp [EMAIL PROTECTED]") > > But that stalls and waits for a password before continuing with > the s