Error while opening xlsx file when downloaded using webclient.downloadfile
<p>i am trying to download a file from a site to a folder </p>

<pre><code>TheWebclientL.Credentials = new System.Net.NetworkCredential(zUserIdL, zPasswordL);
  TheWebclientL.DownloadFile(zSharePointURLPathL, "E:\FolderOutputs\ExcelTemplate\Lookup.xlsx");
</code></pre>

<p>its not throwing me any error while downloading.</p>

<p>while trying to open it,its given me a error</p>

<p>Excel cannot open the file because its file format or file extension is invalid</p>
