skip to Main Content

Asp.net – Can not open the zip file that zipped by C#

I'm writing a web app ,it can upload/download files, here is my code about download files(just for test): static void Main(string[] args) { var zipName = $"archive-{DateTime.Now:yyyy_MM_dd-HH_mm_ss}.zip"; var folder = "D:\xxdd"; using var memoryStream = new MemoryStream(); using var zipArchive…

VIEW QUESTION

PHP: Unable to extact files from a ZIP archive

I am trying to upload a .zip file to a Server and extract it. First, I move the uploaded .zip file to my $target_path $target_Path = $path . basename($_FILES['file']['name']); move_uploaded_file($_FILES['file']['tmp_name'], $target_Path); Then I am trying to unzip the .zip file…

VIEW QUESTION
Back To Top
Search