|
|
|
@ -42,7 +42,7 @@ namespace CORRESPONSALBackend.Controllers.Utils{ |
|
|
|
|
public async Task<IActionResult> DownloadZippedArchivosOficiales([FromBody] DTOAEPeriodoSeleccion data){ |
|
|
|
|
try{ |
|
|
|
|
//Se obtiene la ruta donde se alojará temporalmente el zip |
|
|
|
|
FilePaths4Process tempFilesRelativePath = await _RepoRelativePath.getPaths4ProcessById(45); // Path: Corresponsales\Zips\Facturacion\Entregas\ |
|
|
|
|
FilePaths4Process tempFilesRelativePath = await _RepoRelativePath.getPaths4ProcessById(44); // Path: Corresponsales\Zips\Facturacion\Entregas\ |
|
|
|
|
var tempFilesPath = RootPathCorresponsales + tempFilesRelativePath.Path;// Path: C:data\Corresponsales\Zips\Clientes\ArchivosElectronicos |
|
|
|
|
string tempFolderName = "ReporteArchivosElectronicos";//Nombre del folder Temporal |
|
|
|
|
string tempFolderPath= tempFilesPath + $"{tempFolderName}\\";//ruta del folder temporal Path: C:data\Corresponsales\Zips\Clientes\ArchivosElectronicos\ReporteArchivosElectronicos |
|
|
|
|