From 48f233769a1f96862d0f7906dc141eedbf76a934 Mon Sep 17 00:00:00 2001 From: payton Date: Sat, 20 Jan 2024 01:55:15 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=A2=84=E7=BA=A6=E9=AB=98=E6=B8=85=E5=9B=BE?= =?UTF-8?q?=E5=90=8D=E5=AD=97=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/4gMng/sf_ftp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/application/source/sf_app/code/source/4gMng/sf_ftp.c b/code/application/source/sf_app/code/source/4gMng/sf_ftp.c index bdbded11a..6a55e2e28 100755 --- a/code/application/source/sf_app/code/source/4gMng/sf_ftp.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_ftp.c @@ -1907,11 +1907,11 @@ SINT32 sf_hd_ftp_send(void) snprintf(cameraID, sizeof(cameraID), "%s-%d-%d-%s-", pPara->ModuleImei, battery, csqlevel, CamNameStr); if(fileCfg->stfileattr[piccount].storage == 1) { - snprintf((char *)ftpFileName, sizeof(ftpFileName), "%sHD-%c%03d%04d.JPG", cameraID, SF_SD_DCF_HANDLE, fileCfg->stfileattr[piccount].dirKey, fileCfg->stfileattr[piccount].fileKey); + snprintf((char *)ftpFileName, sizeof(ftpFileName), "%sHD-%s%04d.JPG", cameraID, SF_SD_DCF_FILE_NAME, fileCfg->stfileattr[piccount].fileKey); snprintf((char *)filePath, sizeof(filePath), "%s%s/%c%03d%04d.JPG", SF_SD_ROOT, SF_HD_DIR, SF_SD_DCF_HANDLE, fileCfg->stfileattr[piccount].dirKey, fileCfg->stfileattr[piccount].fileKey); } else{ - snprintf((char *)ftpFileName, sizeof(ftpFileName), "%sHD-%c%03d%04d.JPG", cameraID, SF_EMMC_DCF_HANDLE, fileCfg->stfileattr[piccount].dirKey, fileCfg->stfileattr[piccount].fileKey); + snprintf((char *)ftpFileName, sizeof(ftpFileName), "%sHD-%s%04d.JPG", cameraID, SF_EMMC_DCF_FILE_NAME, fileCfg->stfileattr[piccount].fileKey); snprintf((char *)filePath, sizeof(filePath), "%s%s/%c%03d%04d.JPG", SF_EMMC_ROOT, SF_HD_DIR, SF_EMMC_DCF_HANDLE, fileCfg->stfileattr[piccount].dirKey, fileCfg->stfileattr[piccount].fileKey); }