diff --git a/java_console/upload_file.sh b/java_console/upload_file.sh index 7caa28293d..0cbe406c6f 100755 --- a/java_console/upload_file.sh +++ b/java_console/upload_file.sh @@ -22,4 +22,5 @@ echo -e "\nUploading file: $5" # ncftpput -r 999 -m -R -v -u "$1" -p "$2" "$3" $4 $5 echo put $5 $4 > cmd +cat cmd sshpass -p $2 sftp -o StrictHostKeyChecking=no $1@$3 <<< `cat cmd` \ No newline at end of file