Try this:
DECLARE integer URLDownloadToFile in urlmon.dll Long, string, string, long,long
URLDownloadToFile(0, "
http://www.somesite.com/somedir/file.html", "c:\somedir\file.html", 0, 0)
You can also download binary files using this method.
>Hello!
>
>I have to download html files from web servers (
http://something..),
>and I'm afraid with the wininet.dll what I use for FTP transfers can't do
>it. Is there any other way (in Windows API)?
>I've found some ocx on the web, what can do it, but these were demo-s,
>and didn't work well.
>Do you have any idea?
>
>Thanks, Nandi