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: Why isn't my sound driver loading?
Problem: Locking a computer with a Hard Drive Bios password
Problem: Need copy of EIA / TIA IS-101 voice modem commands?
Problem: Vista won't connect to a network after Hibernation mode
Problem: vss 6.0 backup
Problem: Best TFT monitor for working long hours
Problem: Dell 4600c Blinking Amber light on MB and power button
Problem: Can I use both PCI-E and PCI graphics cards at the same time for 3+ monitors ?
Problem: Computer boots, shuts down after 10-20 seconds
Problem: WTF's up with my iSCSI network config ???