![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Performance issue in expect library on AIX 5.3 | ravindra_maddal | AIX | 2 | 05-14-2008 04:47 AM |
| Expect script issue | Segwar | Shell Programming and Scripting | 2 | 04-25-2008 04:00 AM |
| Calling expect scripts from other expect scripts | seva | Shell Programming and Scripting | 0 | 04-03-2008 10:45 AM |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 03:19 AM |
| Expect and auto expect command | arun_v | Shell Programming and Scripting | 0 | 03-29-2006 04:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
expect issue...help!
Could anyone tell me any reason why the following does not work, please:
\#!/usr/local/bin/expect -f set PASSWORD "xxxxxxx" print "spawn sftp $user@rnode" print "expect \"password:\r\"" print "send \"$PASSWORD\r\" ... expect eof It this expect script is embedded into a ksh script, but seems that it is not starting nor is it passing the password, any help would be appreciated, thanks. |
| Forum Sponsor | ||
|
|