fix:pedido xml folder

This commit is contained in:
amazuecos
2024-09-05 12:38:25 +02:00
parent 54731f65b2
commit 6bddf1b997

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);