mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 18:44:30 +00:00
fix ftp pull task error
This commit is contained in:
@@ -401,6 +401,10 @@ class ftpclient
|
||||
$current_dir = $this->pwd();
|
||||
$contents = ftp_rawlist($this->connexion, $current_dir, ! ! $recursive);
|
||||
|
||||
if($contents === false){
|
||||
throw new Exception('Vérifier les paramètres ftp ou mettre en mode passive');
|
||||
}
|
||||
|
||||
$list = [];
|
||||
|
||||
foreach ($contents as $content) {
|
||||
|
Reference in New Issue
Block a user