#!/usr/bin/expect -f set force_conservative 0 ;# set to 1 to force conservative mode even if ;# script wasn't run conservatively originally if {$force_conservative} { set send_slow {1 .1} proc send {ignore arg} { sleep .1 exp_send -s -- $arg } } set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 67.15.112.38:/netra/www/s/p/spaceblogger.com/images/ match_max 100000 expect -exact "root@67.15.112.38's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 67.15.58.35:/netra/www/j/a/japan.co.jp/images/ match_max 100000 expect -exact "root@67.15.58.35's password: " send -- "ReAl,Go0d\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 206.225.93.35:/var/www/vhosts/spacedaily.com/httpdocs/images/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 206.225.93.35:/var/www/vhosts/spacewar.com/httpdocs/images/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 206.225.93.35:/var/www/vhosts/energy-daily.com/httpdocs/images/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 206.225.93.35:/var/www/vhosts/sinodaily.com/httpdocs/images/ match_max 100000 expect -exact "root@206.225.93.35's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 216.55.136.26:/var/www/vhosts/terradaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 216.55.136.26:/var/www/vhosts/marsdaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 216.55.136.26:/var/www/vhosts/moondaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 216.55.136.26:/var/www/vhosts/russodaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 22 /home/publishing/images-temp/ 216.55.136.26:/var/www/vhosts/indodaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.55.136.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/space-travel.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/spacemart.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/skynightly.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/gpsdaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/saturndaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof set timeout -1 spawn scp -r -P 1776 /home/publishing/images-temp/ 216.127.81.26:/home/httpd/vhosts/solardaily.com/httpdocs/images/ match_max 100000 expect -exact "root@216.127.81.26's password: " send -- "0,sumitomo,0\r" expect eof