The problem with using Expect for authentication the way you are doing is that the data will be transferred over the pseudo TTY and that is not always reliable.
In reply to Re: Sftp problem
by salva
in thread Sftp problem
by sandeep_car
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |