我实在找不出来问题在哪里 求大婶帮忙修改
echo “start connect”
my_current_date=`date +%Y_%m_%d`
my_current_time=`date +%H_%M_%S`
echo $my_current_date
echo $my_current_time
wget “http://10.0.0.1:8083/?action=snapshot” -O=/camcloud/photo.jpg
echo “uploading…”
wput /camcloud/photo.jpg ftp://user:[email protected]/wwwroot/$my_current_date/$my_current_time.jpg
wput /camcloud/photo.jpg ftp://user:[email protected]/wwwroot/last.jpg
echo “end”
echo “start connect”
my_current_date=`date +%Y_%m_%d`
my_current_time=`date +%H_%M_%S`
echo $my_current_date
echo $my_current_time
wget “http://10.0.0.1:8083/?action=snapshot” -O=/camcloud/photo.jpg
echo “uploading…”
wput /camcloud/photo.jpg ftp://user:[email protected]/wwwroot/$my_current_date/$my_current_time.jpg
wput /camcloud/photo.jpg ftp://user:[email protected]/wwwroot/last.jpg
echo “end”