![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SFTP scripting - help required | b0bbins | Shell Programming and Scripting | 8 | 09-27-2007 06:55 PM |
| Scripting multiple file "puts" in sFTP... | Cbish68 | Shell Programming and Scripting | 5 | 07-02-2007 12:14 PM |
| sftp | OrthoProof USA | UNIX for Dummies Questions & Answers | 1 | 06-09-2006 04:44 PM |
| difference between AIX shell scripting and Unix shell scripting. | haroonec | Shell Programming and Scripting | 2 | 04-12-2006 09:12 AM |
| scripting guru's pls help me with scripting on AIX | thatiprashant | Shell Programming and Scripting | 1 | 01-20-2006 07:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I am totally new to this forum so if I am asking this and it has already been asked I apologize, but I have yet to have time to figure out how to search effectively for answers in previous posts. I'll figure it out tomorrow I just wanted to get this out there in case there is someone with this knowledge just bubbling out of their head aching to share it.
ANYWAY: I am trying to script an sftp cron job. My first hurdle was to get key authentication working so I wouldn't have to deal with the issues surrounding giving it a password from within a script. That was fun, and it works now. I was trying to treat it like ftp and use the EOF arguments to get it to read the commands but it is not working. Do I have to use a batch file to send commands to sftp in a script? If so does anyone know where I could get some examples of how to do that (ie make a batch file). Or if I don't have to use a batch file could someone point me toward some examples of how to script commands for sftp. Thanks in advance, New_Guru |
|
|||||
|
See scripting sftp - their example should get you going.
|
|
||||
|
Thanks RTM
I figured this out on my own before I had a chance to come back and check here again for a response. But thanks anyway, I was beginning to think this was one of those boards full of
stuck up people who never answered the "new guys" questions. Glad to see it isn't.Thanks again. ![]() |
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|