Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invoking URLDownloadToFile In urlmon.Dll
Message
From
11/04/2008 23:09:59
 
 
To
10/04/2008 16:05:43
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01309811
Message ID:
01310144
Views:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Hi there, I'm trying to use the URLDownloadToFile function to get the exact time from the web but i noticed that i can read the url i want just for the first time then, what i get is always the same page unless i quit vfp and launch it again.
>Is there a way to avoid that ?
>
>Thank you
>Alessio

The simplest way to avoid getting the cached file, is to fool the cache, just add a fake parameter to the url:
m.lcUrl = "http://checkip.dyndns.org" + "?" + Sys(2015)
Carlos
Previous
Reply
Map
View

Click here to load this message in the networking platform