add FTP Upload

This commit is contained in:
Marko 2023-09-27 08:52:42 +02:00
parent a05da31f8f
commit a1a2eb84b3
No known key found for this signature in database

View File

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