question

AshishKaundal-6518 avatar image
0 Votes"
AshishKaundal-6518 asked DanielZhang-MSFT commented

How to download latest created Zip file from wwwroot/EPGXML/3/57/15_07_2021_10_48_12.zip

I want to download zip file from _env.WebRootPath
And, I am using ionic.zip to create a zip file

Here I am trying to download zip file : -


                     (from f in new DirectoryInfo(path).GetFiles()
                      where f.LastAccessTime < DateTime.Now.Subtract(TimeSpan.FromSeconds(1))
                      select f
                      ).ToList()
                      .ForEach(f => f.OpenRead());


dotnet-csharp
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AshishKaundal-6518,
The Ionic.Zip package has been deprecated, you can refer to this thread about its alternatives.
Best Regards,
Daniel Zhang


0 Votes 0 ·

0 Answers