mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'fix/xml-upload' into 'main'
fix:pedido xml folder See merge request jjimenez/safekat!318
This commit is contained in:
@ -41,7 +41,7 @@ class SafekatFtpClient
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if ($this->xml_enabled == false) return false;
|
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);
|
$this->ftp->login(username: $this->username, password: $this->password);
|
||||||
if(!$this->ftp->is_dir($remotePath)){
|
if(!$this->ftp->is_dir($remotePath)){
|
||||||
$this->ftp->mkdir($remotePath,recursive:true);
|
$this->ftp->mkdir($remotePath,recursive:true);
|
||||||
|
|||||||
Reference in New Issue
Block a user