You're killing a rabbit with an h-bomb. Just set up ssh keys as friedo previously suggested to you and you can easily automate your scp operation.
--
"This alcoholism thing, I think it's just clever propaganda produced by people who want you to buy more bottled water." -- pedestrianwolf
updated: corrected link per ikegami.
In reply to Re: Expect problem
by naChoZ
in thread Expect problem
by swaroop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |