RE: VFP9-open TXT file on a web site

2009-04-07 Thread Profox
www.ukfug.org.uk look in foxbox inet api Allen -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Sytze de Boer Sent: 06 April 2009 21:15 To: profoxt...@leafe.com Subject: Re: VFP9-open TXT file on a web site Is there no way you could

Re: VFP9-open TXT file on a web site

2009-04-06 Thread MB Software Solutions General Account
Sytze de Boer wrote: > Is there no way you could do a simple > filetostr(the-file-on-the-website) type process ? > Sytze I think Rick Strahl's WestWind utilities has a class you might find useful for this. Not sure, though. See west-wind.com iirc. _

Re: VFP9-open TXT file on a web site

2009-04-06 Thread Paul McNett
Sytze de Boer wrote: > Brilliant, thank you More brilliant: wrap that up into a function called, e.g. urlopen(), like: >>> print urllib.urlopen("http://google.com";).read() Google

Re: VFP9-open TXT file on a web site

2009-04-06 Thread Sytze de Boer
Brilliant, thank you On Tue, Apr 7, 2009 at 9:03 AM, Robert Volmer wrote: > Easy: > --- > > lcTempFile = FORCEEXT(ADDBS(SYS(2023)) + SYS(2015), "TXT") > lnGetResults = 0 > lcGetURl = "http://www.blobert.org/public/leafers.txt"; > > DECL

Re: VFP9-open TXT file on a web site

2009-04-06 Thread Robert Volmer
Easy: --- lcTempFile = FORCEEXT(ADDBS(SYS(2023)) + SYS(2015), "TXT") lnGetResults = 0 lcGetURl = "http://www.blobert.org/public/leafers.txt"; DECLARE LONG URLDownloadToFile IN URLMON.DLL ; LONG, STRING, STRING, LONG, LONG lnGetResults

Re: VFP9-open TXT file on a web site

2009-04-06 Thread Sytze de Boer
Is there no way you could do a simple filetostr(the-file-on-the-website) type process ? Sytze On Tue, Apr 7, 2009 at 12:32 AM, Stephen Russell wrote: > On Mon, Apr 6, 2009 at 1:00 AM, Sytze de Boer wrote: >> In my system, the end-user can click a button and automatically >> download an update

Re: VFP9-open TXT file on a web site

2009-04-06 Thread Stephen Russell
On Mon, Apr 6, 2009 at 1:00 AM, Sytze de Boer wrote: > In my system, the end-user can click a button and automatically > download an update > This works great for me. > I'm using an Inno system > > I want my users to be able to check if there's a specific txt file on > my web site. > If so, then h

RE: VFP9-open TXT file on a web site

2009-04-06 Thread Dave Crozier
01 To: profox@leafe.com Subject: VFP9-open TXT file on a web site In my system, the end-user can click a button and automatically download an update This works great for me. I'm using an Inno system I want my users to be able to check if there's a specific txt file on my web site. If s

RE: VFP9-open TXT file on a web site

2009-04-06 Thread Dave Crozier
Tze, Personally I would use an FTP Class to query/download the file. -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Sytze de Boer Sent: 06 April 2009 07:01 To: profox@leafe.com Subject: VFP9-open TXT file on a web site In my system, the

VFP9-open TXT file on a web site

2009-04-05 Thread Sytze de Boer
In my system, the end-user can click a button and automatically download an update This works great for me. I'm using an Inno system I want my users to be able to check if there's a specific txt file on my web site. If so, then have to choice to open it, without needing to downloading it. Can some