Search Results

Search: Posts Made By: rajamadhavan
18,621
Posted By rajamadhavan
This is a basic expect script from which you can...
This is a basic expect script from which you can start


#!/usr/bin/expect
set timeout 10
spawn ftp -n remote-server
expect "ftp> "
send "quote USER username\r"
expect "ftp> "
send "quote...
18,621
Posted By rajamadhavan
You can try an expect script for interactive...
You can try an expect script for interactive applications like ftp, its possible to capture the output of previous command and direct it to a file.


-Raja
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy