>Function GetFileFromUrl >Lparameters lcRemoteFile, lcLocalFile >Declare Integer URLDownloadToFile In urlmon.Dll; > INTEGER pCaller, String szURL, String szFileName,; > INTEGER dwReserved, Integer lpfnCB > >DECLARE integer DeleteUrlCacheEntry in wininet.dll ; > String lpszUrlName > > =DeleteURLCacheEntry(lcremotefile) > >Return URLDownloadToFile (0, lcRemoteFile, Iif(Empty(lcLocalFile), JustFname(lcRemoteFile), lcLocalFile), 2, 0) = 0 >>
>>> >>>Function GetFileFromUrl >>>Lparameters lcRemoteFile, lcLocalFile >>>Declare Integer URLDownloadToFile In urlmon.Dll; >>> INTEGER pCaller, String szURL, String szFileName,; >>> INTEGER dwReserved, Integer lpfnCB >>>Return URLDownloadToFile (0, lcRemoteFile, Iif(Empty(lcLocalFile), JustFname(lcRemoteFile), lcLocalFile), 0, 0) = 0 >>>>>
>>Function GetFileFromUrl >>Lparameters lcRemoteFile, lcLocalFile >>Declare Integer URLDownloadToFile In urlmon.Dll; >> INTEGER pCaller, String szURL, String szFileName,; >> INTEGER dwReserved, Integer lpfnCB >>*** Let's try to full the function >> lcRemoteFile = lcRemoteFile + [?]+SYS(2015) >>Return URLDownloadToFile (0, lcRemoteFile, Iif(Empty(lcLocalFile), JustFname(lcRemoteFile), lcLocalFile), 0, 0) = 0 >>>>That way the remote file will look like: