Explorar el Código

changed to sftp

Paul Klumpp hace 12 años
padre
commit
942016e1a6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mvd_transfer.sh

+ 1 - 1
mvd_transfer.sh

@@ -6,7 +6,7 @@ game="$2"
 _file="$game/demos/$mvd"
 
 if [ -f "$_file" ]; then
-	scp -p "$_file"  your_domain@here.com:/home/user/public_html/q2demos/   &
+	echo "put $_file" | sftp -q -p someuser@aq2world.com &
 else
 	echo "$0 Error: '$_file' not found. Not transferring anything. :("
 fi