DECLARE INTEGER URLDownloadToFile IN urlmon.dll;
INTEGER pCaller, STRING szURL, STRING szFileName,;
INTEGER dwReserved, INTEGER lpfnCB

LOCAL lcRemoteFile, lcLocalFile, lcResult

lcRemoteFile = "http://tecsicom.dnsalias.com/temp/3005201801119172477800110010070000000501234567813.pdf"

lcLocalFile = "c:/temp/3005201801119172477800110010070000000501234567813.pdf"

lcResult = URLDownloadToFile(0,lcRemoteFile,lcLocalFile,0,0)

IF lcResult = 0 THEN
ELSE
ENDIF