Re: Driving a website using VFP
From: Neil Waterworth (nospam-or-nwaterworth_at_lineone.net)
Date: 02/06/04
- Next message: O.J. Newman: "Wanted: SCO FoxBase+ 2.1.2"
- Previous message: Rolf Lystad: "Re: Dot Printer TimeOut"
- In reply to: Neil Waterworth: "Re: Driving a website using VFP"
- Next in thread: Karen: "Re: Driving a website using VFP"
- Reply: Karen: "Re: Driving a website using VFP"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 6 Feb 2004 23:47:38 -0000
Further again, you can usually insert the username and password into the
URL, if you're using basic authentication, e.g.
cSource = "http://user:pass@www.somewhere.com/myfile.xyz"
You might be able to bypass the form based authentication part using
URLDownloadToFile() with this. Maybe not, but still food for thought.
Neil
"Neil Waterworth" <nospam-or-nwaterworth@lineone.net> wrote in message
news:OYZ257N7DHA.3360@tk2msftngp13.phx.gbl...
> Further to the IE automation stuff above, the URLDownLoadToFile() API
> function might be useful. It's described at:
>
> http://www.news2news.com/vfp/?group=-1&function=268
>
> Regards,
> Neil
>
> "softmica" <anonymous@discussions.microsoft.com> wrote in message
> news:A185ED1E-F9DF-4CC9-B80C-00A552C1C265@microsoft.com...
> > What I am trying to do is log onto a website and then navigate to the
> appropriate page and then click a link which will initiate a file
> download.... although I want to be able to specify the download location
> without user intervention.
> >
> > In another section of the program, I want to log onto another website,
> select another page which will again require a log on, and then fill in
> certain fields automatically (again... no user intervention), submit the
> website and then copy the confirmation page that is generated to a memo
> field in a VFP application.
> >
> > There can be no user intervention required as these activities are
> time-sensitive and need to be controlled automatically by the VFP
> application.
> >
> > I've tried westwind stuff and it didn't work for what I need to do. I
am
> amazed that nobody is routinely doing this.
> >
> > Anyway, if you have some specific ideas, let me know. I've tried to use
> the InternetExplorer object but I cannot identify the logon page when it
> comes up.
> >
> > Hope you or someone else has some ideas.
> >
> > Jim
>
>
- Next message: O.J. Newman: "Wanted: SCO FoxBase+ 2.1.2"
- Previous message: Rolf Lystad: "Re: Dot Printer TimeOut"
- In reply to: Neil Waterworth: "Re: Driving a website using VFP"
- Next in thread: Karen: "Re: Driving a website using VFP"
- Reply: Karen: "Re: Driving a website using VFP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|