Hello

I got suggestion from Lou Rinaldi [[EMAIL PROTECTED]]. Thank you Lou
for your interest, but I'am sorry because -t option isn't support for sftp.

Any other suggestion?

Thank you
Jiri Landkammer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Landkammer Ji�� [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 04, 1999 3:56 PM
> To:   [EMAIL PROTECTED]
> Subject:      sftp in script?
> 
> Hello
> 
> How can I use sftp in my shell script? The password isn't problem I use
> ssh-agent or null Passphrase, but what commands?
> My first test was broken.
> 
> $ sftp plat <./file_with_commands
> local path  : /usr/users/jiri
> remote path : /usr/users/jiri
> Warning: tcgetattr failed in ssh_rl_set_tty_modes: Not a typewriter
> 
> My second test was broken too. :-(
> $ sftp plat <<EOF
> > ls
> > lpwd
> > put test.file
> > bye
> > EOF
> local path  : /usr/users/jiri
> remote path : /usr/users/jiri
> Warning: tcgetattr failed in ssh_rl_set_tty_modes: Not a typewriter
> 
> Is any solution?
> 
> Thank you.
> Jiri Landkammer
> [EMAIL PROTECTED]
> 

Reply via email to