upload foto 2
This commit is contained in:
parent
bd567c74da
commit
338c0b9039
@ -6880,7 +6880,10 @@ namespace ApiPolo.Controllers
|
|||||||
pwd_storage = _confLette.ftp_pwd_stor != null ? _confLette.ftp_pwd_stor.Trim() : string.Empty;
|
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 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 });
|
return Ok(new { count = posiz, size });
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user