Search results for query: *

  1. M

    Programmatically downloading file

    I see.Sure, will give it a try.Thanks again for your help.
  2. M

    Programmatically downloading file

    This issue got resolved when I added following line in my code for downloading the file:" downloadFileHttpRequest.UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3"; Thanks JohnH for your help!!!Much appreciated!
  3. M

    Programmatically downloading file

    Hello JohnH, If I pass the same cookieContainer to my 2nd HttpWebRequest, then am getting that internal server error: 500. If I dont pass it in the request, I dont get an error but I dont the csv file in the response. Thanks.
  4. M

    Programmatically downloading file

    Thanks JohnH. I was playing around with my code and modified my code yesterday as per following. And finally it did work.I was able to download about 0.5 MB of csv file from the website using this program. (I also saw a "Welcome page" response in the htmlResponse variable while debugging.)...
  5. M

    Programmatically downloading file

    Hello, Using C# 4.5,I'm trying to programmatically log-on to a third-party website and then download a csv file from another page on that site. I tried using following approach.I dont get any errors but it seems to download the contents of their logon page itself and save it as a csv file...
Back
Top Bottom