Operating System - HP-UX
1831477 Members
3417 Online
110025 Solutions
New Discussion

Re: scripting sftp - part deux

 
TwoProc
Honored Contributor

scripting sftp - part deux

This is a follow up to the closed thread - http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=840714

Gary - Thanks to the information and working example in the posting from Peter Gordon - I got this working for us. I used the "expect" program (5.4.3 (prebuilt) didn't work - but 5.4.2 does) to shuttle data around and it works great. This solves a real problem for us (operator had to key in password for xmit each time) that sounds like same issue you have. All I had to do was change the "ftp" expects and sends to "sftp" equivalents (very similar) and it worked first time.

We are the people our parents warned us about --Jimmy Buffett
1 REPLY 1
TwoProc
Honored Contributor

Re: scripting sftp - part deux

Closed
We are the people our parents warned us about --Jimmy Buffett