🐛 Fixing a bug.

This commit is contained in:
WispX
2021-01-21 11:04:51 +08:00
parent b23fc23788
commit d30a29e89e
+1 -1
View File
@@ -22,7 +22,7 @@ class Remote implements Driver
{
try {
$this->ftp = new \FtpClient\FtpClient();
$this->ftp->connect($options['remote_host']);
$this->ftp->connect($options['remote_host'], false, $options['remote_port']);
$this->ftp = $this->ftp->login($options['remote_name'], $options['remote_password']);
$this->ftp->pasv($options['remote_pasv'] ? true : false);
} catch (FtpException $e) {