Click here to Skip to main content
15,895,142 members

Comments by akhilgaur1988 (Top 7 by date)

akhilgaur1988 27-Jun-12 0:46am View    
your help is really appreciable but I have already discussed above. This

<pre lang="c#"> WebClient webClient = new WebClient();

webClient.DownloadFile(remoteFilePath, localPath);

webClient.Dispose(); </pre>

This returns me a zip file while which is corrupted or invalid. And when I open that zip file in notepad it contains a line ""Virtual user BD1234 logged in."
akhilgaur1988 26-Jun-12 7:10am View    
It returns an invalid zip file. Can't just read the zip file or copy the contents of zip file into another zip file? Is there any way to do this?
akhilgaur1988 26-Jun-12 7:01am View    
No actually i just want to download the zip file as it is on the server.
But each time I try to download the file, server returns me an invalid zip file. And when I try to view it on the notepad it contains following lines "Virtual user BD1234 logged in."
.
akhilgaur1988 26-Jun-12 7:01am View    
Deleted
No actually i just want to download the zip file as it is on the server.
But each time I try to download the file, server returns me an invalid zip file. And when I try to view it on the notepad it contains following lines "Virtual user BD1234 logged in."
akhilgaur1988 22-Jun-12 8:08am View    
Above javascript function is included in the html file i m getting while reading the website using streamreader. now i need to find some way to get that file name included in script tag and then write some C# code to download that file.

How can i search for the Above javascript function is included in the html file i m getting while reading the website using streamreader. now i need to find some way to get that file name included in script tag and then write some C# code to download that file.

The names are included in script tag starting with "<script>PrintFileURL("
How can i get the names of all the files included in the tag?