![]() |
| | #1 |
| Registered User Join Date: Dec 2006
Posts: 28
| does anybody has idea how to use a expect script in C program. I have made a expect script which is used to do SCP a file from one server to another.Now I want to use this script in my C program to transfer multiple files. Please give me any hint or links associated with expect script in C program. Thank You, Nitin |
| nitinmhetre is offline | |
| | #2 |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| Use system() or any other spawning system to launch the expect interpreter with the script.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law |
| CornedBee is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script in games | Shakti | Game Programming | 7 | 09-27-2006 12:27 AM |
| Can someome help me with a program please? | WinterInChicago | C++ Programming | 3 | 09-21-2006 10:58 PM |
| Need help with my program... | Noah | C Programming | 2 | 03-11-2006 07:49 PM |
| How can I run a small ftp script from C program | bazeemuddin | A Brief History of Cprogramming.com | 1 | 07-01-2003 05:04 PM |
| My program, anyhelp | @licomb | C Programming | 14 | 08-14-2001 10:04 PM |