title: Download zip file from the server and parsing it
body: <p>I am trying to download a zipped file from the server and trying to show the content of each files in zipped folder to the view.</p>
  
  <p>I wrote a separate code where the file is on my laptop and I ran across each file and dislpayed the content such as</p>
  
  <pre><code>static void Main(string[] args)
  {
       string filePath = "C:\\ACL Data\\New folder\\files.zip";
       var zip= new ZipInputStream(File.OpenRead(filePath));
       var filestream=new FileStream(filePath,FileMode.Open,FileAccess.Read);
       ZipFile zipfile = new ZipFile(filestream);
       ZipEntry item;
       while ((item = zip.GetNextEntry()) != null)
       {
           Console.WriteLine(item.Name);
           using (StreamReader s = new StreamReader(zipfile.GetInputStream(item)))
           {
               Console.WriteLine(s.ReadToEnd());
           }
       }
       Console.Read();
   }
  </code></pre>
  
  <p>I am using sharplibzip library to implement this
  This is the case when the zip file is located locally in the system. My next task  scenario is what if the zipped file is located on the server. I am figuring out the way to implement it, below is the code what I assume should work</p>
  
  <pre><code>static void Main(string[] args)
  {
      string url = "https://test/code/304fd9c6-7e53-42a2-845a-624608bfd2ce.zip";
      WebRequest webRequest = WebRequest.Create(url);
      webRequest.Method = "GET";
      WebResponse webResponse = webRequest.GetResponse();
      var zip = new ZipInputStream(webResponse.GetResponseStream());
      ZipEntry item1;
  
      //var zip= new ZipInputStream(File.OpenRead(filePath));
      var filestream = new FileStream(filepath, FileMode.Open, FileAccess.Read);
      ZipFile zipfile = new ZipFile(filestream);
      ZipEntry item;
      while ((item = zip.GetNextEntry()) != null)
      {
          Console.WriteLine(item.Name);
          using (StreamReader s = new StreamReader(zipfile.GetInputStream(item)))
          {
              Console.WriteLine(s.ReadToEnd());
          }
      }
      Console.Read();
  } 
  </code></pre>
  
  <p>I am stuck at this part:  <code>var filestream = new FileStream(filepath, FileMode.Open, FileAccess.Read);</code></p>
  
  <p>This expect the first parameter to be path of the zip file. Since in the new scenario zip file is located remotely on the server. What should be the parameter in this case?</p>