Explorar o código

Enable passive mode in ftp transfert

Prevent error :
'500 I won't open a connection to <ovh ip> (only to <my ip>)'
DricomDragon %!s(int64=4) %!d(string=hai) anos
pai
achega
8538b9102e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      undeployed/scripts/deploy-to-ovh.sh

+ 1 - 1
undeployed/scripts/deploy-to-ovh.sh

@@ -24,7 +24,7 @@ bash "$gitRoot/undeployed/scripts/deploy/up-date.sh"
 bash "$gitRoot/undeployed/scripts/deploy/up-version.sh"
 
 # ftp operation
-ftp -vin $host $port<<EOT
+ftp -pvin $host $port<<EOT
 user $user $password
 nmap \$1 $dest/\$1
 mput $files