Microsoft
Software
Hardware
Network
Question : Problem: sftp expect script
I am using solaris 8 sparc Operating system. Its has sftp installed and expect and tcl package also installed. Now I need to write a script and automate sftp . I need a script which includes sftp and expect.
sftp username :sftpuser1
password : pass123
Servername IP : 192.178.7.1
File to copy from localserver to 192.178.7.1 : file1.
Note: Here its not possible to use ssh keys.
Answer : Problem: sftp expect script
can confirm that the path ( /usr/local/bin/expect) to expect is correct? it could be different for your system
also, can you make the script executable and you call it by its name directly. e.g.
chmod +x myscript
./myscript
Random Solutions
Problem: No BIOS beeps, no boot
Problem: LJ 1200 print job stuck in queue after page prints.
Problem: Dell UltraSharp 1908fp w/ ATI Video Card :: Prefered RGB Settings for Max Color and Display Quality
Problem: CPU upgrade
Problem: 1GB or 2GB SD, which one is better?
Problem: Bulk Photo Scanning Advice
Problem: A question about mouse-wheel
Problem: What is the difference between DDR and DDR 2 RAM?
Problem: PC133 memory upgrade
Problem: How do I convert a video to iPod format in Linux?