Problem with downloading a file from a web in Visual Basic 2008
Posted on 2009-05-04
I am writting a program in visual basic 2008 where by clicking a button it will download ebill from a website and save it to my local drive. Here is the manual process downloading ebill:
1. login with userid/passwd
2. go to the ebill section
3. press Download button on their website
4. save the file
When I click Download button manually I saw a name 'downloadEbill.do' at the bottom of the page. The actual file name is ebill_month.zip and when I put this file name I get 404 error. But when I use 'downloadEbill.do' as a filename I do not get any error and did get that file in my local drive. So the problem I am having is:
1. I can't open downloadEbill.do file to see whats inside. How to open it?
2. The main file is ebill_month.zip which I want. How do I have to program it to get this file?
Could anybody please help me? I would really appreciate it. If you need more information please let me know.
Thanks so much in advance.