Downloading webpage
- From: BodiKlamph@xxxxxxxxx
- Date: Sat, 1 Nov 2008 10:30:30 -0700 (PDT)
Hi
I have some VB code that uses URLDownloadToFile to grab a simple HTML
file from a 3rd party website. The issue is that the website will
only give me that file if I've logged in first.
So what I did was put an IE control on my form, navigate to the login
page, script my way through putting in the user/pwd and THEN use
URLDownloadToFile to take the page I actually want.
The whole login procedure seems way too overkill for such an easy
task.
So what I did was create a barebones HTML file of just the <form>
login stuff (with an onload command to submit the html form) and put
that on my own website. I was hoping that I could then use
URLDownloadToFile and that would "execute" the html file.
So basically, I'm looking for a simple way to login to the 3rd party
site so I can take the necessary files. Are there any APIs that will
do that? Or should I be looking elsewhere?
thx.
.
- Follow-Ups:
- Re: Downloading webpage
- From: Dean Earley
- Re: Downloading webpage
- Prev by Date: Re: Move P/Invokes methods to native class
- Next by Date: Re: Move P/Invokes methods to native class
- Previous by thread: Re: Move P/Invokes methods to native class
- Next by thread: Re: Downloading webpage
- Index(es):
Relevant Pages
|