From 0757775843cbb6ede69384cb463d1bff7b4973a2 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 18 Oct 2021 21:10:49 -0400 Subject: [PATCH] GHA reliability: retry FTP upload #3011 trying SFTP --- java_console/upload_file.sh | 1 + 1 file changed, 1 insertion(+) 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