From a1a2eb84b3769d1b34222e998e60799bcce07352 Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:52:42 +0200 Subject: [PATCH] add FTP Upload --- src/Helper/Ftp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helper/Ftp.php b/src/Helper/Ftp.php index 4ce1c2a..ffbf1ec 100644 --- a/src/Helper/Ftp.php +++ b/src/Helper/Ftp.php @@ -82,7 +82,7 @@ class Ftp $ftp_login = ftp_login($ftp,$this->getUser(), $this->getPassword()); ftp_pasv($ftp, true); - $remoteFile = 'stock_'.date('YmdHis').'.csv'; + $remoteFile = 'stock_hiltes.csv'; if($ftp_login){ $r = ftp_put($ftp,$this->getRemoteDir().$remoteFile, $localFile);