fix ftp pull task error

This commit is contained in:
aina-esokia
2018-07-16 11:27:41 +04:00
parent 57bc44e0d6
commit 0050908cd3
2 changed files with 5 additions and 1 deletions

View File

@@ -94,8 +94,8 @@ class FtpPullJob extends AbstractJob
}
$ftp = $app['phraseanet.ftp.client']($host, $port, 90, $ssl, $proxy, $proxyport);
$ftp->passive($passive);
$ftp->login($user, $password);
$ftp->passive($passive);
$ftp->chdir($ftpPath);
$list_1 = $ftp->list_directory(true);