I'm looking for something like:
Code: Select all
GetWebPage(file, "http://www.somesite.com/page.html")
Many thanks,
Tony
Code: Select all
GetWebPage(file, "http://www.somesite.com/page.html")
Code: Select all
ReceiveHTTPFile(URL$, Filename$)
Code: Select all
URL.S = "http://www.google.com"
DownloadFilename.S = GetTemporaryDirectory() + "Test.htm"
If URLDownloadToFile_(0, @URL, @DownloadFilename, 0, 0) = #S_OK
MessageRequester("Info", URL + " has been downloaded sucessfully into " + DownloadFilename + "!", #MB_ICONINFORMATION)
Else
MessageRequester("Error", "The download of " + URL + " failed!", #MB_ICONERROR)
EndIf
That's unfortunately correct. But have you tested the new ReceiveHTTPFile() function in Exe files of PB 4.20 Beta with AntiVirus programs extensively? May be that they complain too about some function calls?ts-soft wrote:Some AntiVirus programs have problems with URLDownloadToFile_ API![]()
Do you have some links for me because this would be very important for me and my customers. Fortunately I didn't have had any complaints so far for several programs in production using URLDownloadToFile().ts-soft wrote:and there some problems with cache and so on
IMHO not the best way to use a new function of a Beta version in important programs.ts-soft wrote:IMHO not the best way.
The second downloads, only download from the cache, if available, so youShardik wrote:Do you have some links for me because this would be very important for me and my customers. Fortunately I didn't have had any complaints so far for several programs in production using URLDownloadToFile().