Merge branch 'fix/xml-upload' into 'main'

fix:pedido xml folder

See merge request jjimenez/safekat!318
This commit is contained in:
Alvaro
2024-09-05 12:23:34 +00:00

View File

@ -41,7 +41,7 @@ class SafekatFtpClient
{
try {
if ($this->xml_enabled == false) return false;
$remotePath = implode("/", [$this->base_dir,'xml_nuevos']);
$remotePath = implode("/", [$this->base_dir,'pedidos','xml_nuevos']);
$this->ftp->login(username: $this->username, password: $this->password);
if(!$this->ftp->is_dir($remotePath)){
$this->ftp->mkdir($remotePath,recursive:true);