case 'FTP':
$commands = array_merge($commands, [
'set ftp:ssl-allow false',
- 'connect ftp://' . $this->getHost()
+ //'connect ftp://' . $this->getHost()
]);
break;
case 'FTPS':
$mirrorCmd .= ' --dry-run';
}
$commands[] = $mirrorCmd;
- $this->setArg('u', $this->getUsername() . ',' . $this->getPassword());
+ $this->setArg('u', $this->getUsername() . ',' . $this->getPassword().' '.$this->getHost());
$this->setArg('p', $this->getPort());
$this->setArg('e', implode(';', $commands));
}