Mark,
You can download ReadUrl program by David Frankenbach from
http://www.geocities.com/df_foxpro/qgen008.htm. We use it and it works well.
lcUrl = ReadUrl("http://www.Website.com/SomeFile.htm")
STRTOFILE(lcUrl, ...)
>Hi,
>
>There exists a VFP command FileToStr() that
>gets a txt file and puts its into a string:
>e.g.
>cFileName = "c:\data\somefile.txt"
>cFileContents = FileToStr( cFileName )
>
>This doesn't work when for example
>cFileName = "
http://www.Website.com/SomeFile.htm"
>or cFileName ="
http://192.168.1.1/SomeFile.htm"
>
>My problem is now that I need the same functionnality as FileToStr() but by using the http protocol. (Like a webservice that returns html). I already experimented with automation (creating a hyperlink object oLink,followed by a oLink.NavigateTo) but this didn't work and results in an instance of internet explorer that I don't need.
>
>Can anybody help?
>
>
>Thanks in advance,
>
>Mark
--sb--