#! /bin/bash
echo
echo "cintel ftp test tool"
#echo "please input hostip:\c"
#read hostip
#echo "please input username:\c"
#read username
#echo "please input password:\c"
#read password
read hostip username password
ftp -n<<!
open $hostip
user $username $password
binary
put aaa.dat aaa0.dat
put aaa.dat aaa1.dat
put aaa.dat aaa2.dat
put aaa.dat aaa3.dat
put aaa.dat aaa4.dat
put aaa.dat aaa5.dat
put aaa.dat aaa6.dat
put aaa.dat aaa7.dat
put aaa.dat aaa8.dat
put aaa.dat aaa9.dat
put aaa.dat aaa10.dat
put aaa.dat aaa11.dat
put aaa.dat aaa12.dat
put aaa.dat aaa13.dat
put aaa.dat aaa14.dat
put aaa.dat aaa15.dat
put aaa.dat aaa16.dat
put aaa.dat aaa17.dat
put aaa.dat aaa18.dat
put aaa.dat aaa19.dat
put aaa.dat aaa20.dat
put aaa.dat aaa21.dat
put aaa.dat aaa22.dat
put aaa.dat aaa23.dat
put aaa.dat aaa24.dat
put aaa.dat aaa25.dat
put aaa.dat aaa26.dat
put aaa.dat aaa27.dat
put aaa.dat aaa28.dat
put aaa.dat aaa29.dat
put aaa.dat aaa30.dat
put aaa.dat aaa31.dat
put aaa.dat aaa32.dat
put aaa.dat aaa33.dat
put aaa.dat aaa34.dat
put aaa.dat aaa35.dat
put aaa.dat aaa36.dat
put aaa.dat aaa37.dat
put aaa.dat aaa38.dat
put aaa.dat aaa39.dat
put aaa.dat aaa40.dat
put aaa.dat aaa41.dat
put aaa.dat aaa42.dat
put aaa.dat aaa43.dat
put aaa.dat aaa44.dat
put aaa.dat aaa45.dat
put aaa.dat aaa46.dat
put aaa.dat aaa47.dat
put aaa.dat aaa48.dat
put aaa.dat aaa49.dat
put aaa.dat aaa50.dat
put aaa.dat aaa51.dat
put aaa.dat aaa52.dat
put aaa.dat aaa53.dat
put aaa.dat aaa54.dat
put aaa.dat aaa55.dat
put aaa.dat aaa56.dat
put aaa.dat aaa57.dat
put aaa.dat aaa58.dat
put aaa.dat aaa59.dat
bye