From 748001b9fad95cf663ed5f2c7b1296eb2db9fe0c Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Wed, 2 Jul 2025 16:04:26 +0000 Subject: [PATCH] bug fix in response to upload server --- hesabixCore/src/Controller/System/DatabaseController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hesabixCore/src/Controller/System/DatabaseController.php b/hesabixCore/src/Controller/System/DatabaseController.php index e0a6c9b..4e52063 100644 --- a/hesabixCore/src/Controller/System/DatabaseController.php +++ b/hesabixCore/src/Controller/System/DatabaseController.php @@ -185,12 +185,8 @@ final class DatabaseController extends AbstractController throw new \Exception("خطا در تغییر به مسیر {$remoteDir} در سرور FTP"); } - // قبل از آپلود فایل - echo("در حال آپلود به: $remoteDir / $remotePath"); - // آپلود فایل $result = ftp_put($ftp, basename($remotePath), $filepath, FTP_BINARY); - echo("نتیجه آپلود: " . ($result ? 'موفق' : 'ناموفق')); if (!$result) { $error = error_get_last(); ftp_close($ftp);