Browse Source

Enable passive mode in ftp transfert

Prevent error :
'500 I won't open a connection to <ovh ip> (only to <my ip>)'
DricomDragon 4 years ago
parent
commit
8538b9102e
1 changed files with 1 additions and 1 deletions
  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