upload foto 2

This commit is contained in:
Marco Audiffredi 2025-09-24 11:12:36 +02:00
parent bd567c74da
commit 338c0b9039

View File

@ -6880,7 +6880,10 @@ namespace ApiPolo.Controllers
pwd_storage = _confLette.ftp_pwd_stor != null ? _confLette.ftp_pwd_stor.Trim() : string.Empty;
await FtpSendStorage(url_storage, usr_storage, pwd_storage, file, fileName);
await updPathFoto(ten, serialeRapportino, absolutePath, posiz, entitasViewModel);
//await updPathFoto(ten, serialeRapportino, absolutePath, posiz, entitasViewModel);
//non devo più mandare il path completo ma solo il nome della foto. La posizione la costruisco lato portale
await updPathFoto(ten, serialeRapportino, fileName, posiz, entitasViewModel);
return Ok(new { count = posiz, size });