ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/builds-send-ftp.sh
Revision: 1.5
Committed: Mon Jun 18 15:04:45 2001 UTC (23 years, 4 months ago) by tdb
Content type: application/x-sh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
State: FILE REMOVED
Log Message:
We no longer need these scripts as everything is done on one machine.

File Contents

# 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 -i 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 tdb 1.4 send "lcd /usr/local/proj/co600_10/builds\r"
15 tdb 1.1 expect "*ftp>*"
16 tdb 1.4 send "cd downloads\r"
17 tdb 1.1 expect "*ftp>*"
18     send "mput iscream-server*\r"
19     expect "*ftp>*"
20     send "mput iscream-corbaservices*\r"
21     expect "*ftp>*"
22     send "mput iscream-conient*\r"
23     expect "*ftp>*"
24     send "mput iscream-winhost*\r"
25     expect "*ftp>*"
26     send "mput iscream-ihost*\r"
27     expect "*ftp>*"
28 tdb 1.2 send "mput iscream-webreports*\r"
29     expect "*ftp>*"
30     send "mput iscream-dbreporter*\r"
31     expect "*ftp>*"
32 tdb 1.1 close
33     wait
34     exit 0