- Code: Select all Expand view
if !Empty(WebPageContents(cUrl))
//... tu codigo
else
MsgStop('Url not found')
endif
if !Empty(WebPageContents(cUrl))
//... tu codigo
else
MsgStop('Url not found')
endif
nageswaragunupudi wrote:Both the functions WebPageContents() and URLDownloadToFile() work only on Windows OS.
For Web Applications, we need platform independent tools and CURL seems to be the popular choice.
Otto wrote:do you mean this sample?
https://mybergland.com/fwforum/forum.zip
cText := WebPageContents( cPageUrl, .t. )