Brilliant, thank you
On Tue, Apr 7, 2009 at 9:03 AM, Robert Volmer <[email protected]> wrote: > 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 = URLDownloadToFile(0, lcGetURl, lcTempFile, 0, 0) > IF lnGetResults # 0 > MESSAGEBOX("Download Failed",0,"") > RETURN .F. > ENDIF > > lcText = FILETOSTR(lcTempFile) > ? lcText > ERASE (lcTempFile) > > --------------------------------------------------------------- > > If you really wan't to get into it more of this can be found: > http://fox.wikis.com/wc.dll?Wiki~ReadUrl~VFP > http://support.microsoft.com/kb/311306 > > Cheers, > > Robert > > Sytze de Boer wrote: >> 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 <[email protected]> >> wrote: >> >>> On Mon, Apr 6, 2009 at 1:00 AM, Sytze de Boer <[email protected]> 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 have to choice to open it, without needing to downloading it. >>>> Can someone tell me how to do this ? >>>> >>>> -- >>>> >>> ------------------------ >>> >>> Sounds like a Web Service. >>> >>> -- >>> Stephen Russell >>> Sr. Production Systems Programmer >>> Web and Windows Development >>> Independent Contractor >>> Memphis TN >>> >>> 901.246-0159 >>> >>> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

