Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16 - 1
#!/bin/bash
2
HOST=ftp.dnsexit.com
3
USER=vh3504
4
PASSWORD=u2TTJdm3
5
 
6
php /var/www/cheapmusic/www/php/getExchangeRates.php
7
rc=$?
8
 
9
if [ $rc -ne 0 ]
10
then
11
    exit
12
fi
13
 
14
ftp -inv $HOST <<EOF
15
user $USER $PASSWORD
16
cd findcheapmusic.com/php
17
binary
18
put exchangeRates.php
19
bye
20
EOF