title: How to get the ZIP file from Base64 string in Javascript?
body: <p>I am trying to get the compressed ZIP file back in Javascript. I am able to convert the zip file into Base64 String format. (Zip file is in Server)</p>
  
  <p>Here is my try (at Server Side)</p>
  
  <pre><code>System.IO.FileStream fs = new System.IO.FileStream(SourceFilePath + "Arc.zip", System.IO.FileMode.Open);
  Byte[] zipAsBytes = new Byte[fs.Length];
  fs.Read(zipAsBytes, 0, zipAsBytes.Length);
  String base64String = System.Convert.ToBase64String(zipAsBytes, 0, zipAsBytes.Length);
  fs.Close();
  
  if (zipAsBytes.Length &gt; 0)
  {
      _response.Status = "ZipFile";
      _response.Result = base64String;
  }
  
  return _json.Serialize(_response);
  </code></pre>
  
  <p>This part of code returns the JSON data. This JSON data includes the Base64 string. Now what i want to do is to get the original zip file from Base64 string. I searched over the internet but not get the idea. </p>
  
  <p>Is this achievable ?.   </p>