| Revision: | 1.1 |
| Committed: | Fri Mar 9 00:23:22 2001 UTC (24 years, 7 months ago) by tdb |
| Content type: | application/x-sh |
| Branch: | MAIN |
| CVS Tags: | PROJECT_COMPLETION |
| Log Message: | Various shell scripts used around the project. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | tdb | 1.1 | #!/usr/local/bin/expect -f |
| 2 | |||
| 3 | set password [lindex $argv 0] | ||
| 4 | |||
| 5 | set timeout 60 | ||
| 6 | spawn ftp ftp.i-scream.org.uk | ||
| 7 | expect "*Name*:*" | ||
| 8 | send "iscream\r" | ||
| 9 | expect "*Password:*" | ||
| 10 | send "$password\r" | ||
| 11 | expect "*ftp>*" | ||
| 12 | send "binary\r" | ||
| 13 | expect "*ftp>*" | ||
| 14 | send "lcd /tmp/cvswww-send-tmp\r" | ||
| 15 | expect "*ftp>*" | ||
| 16 | send "dele cvswww-extract.tar.gz\r" | ||
| 17 | expect "*ftp>*" | ||
| 18 | send "put cvswww-extract.tar.gz\r" | ||
| 19 | expect "*ftp>*" | ||
| 20 | close | ||
| 21 | wait | ||
| 22 | exit 0 |