Thema: IEDownload

Einzelnen Beitrag anzeigen

shmia

Registriert seit: 2. Mär 2004
5.508 Beiträge
 
Delphi 5 Professional
 
#5

AW: IEDownload

  Alt 23. Nov 2011, 13:53
Also die einfachste Möglichkeit eine Datei runterzuladen sieht so aus:
Delphi-Quellcode:
uses ...,UrlMon;

function DownLoadInternetFile(const SourceUrl, DestFilename : String): Boolean;
const S_OK = 0;
begin
   Result := URLDownloadToFile(nil,PChar(SourceUrl),PChar(DestFilename),0,nil) = S_OK;
end;
Andreas
  Mit Zitat antworten Zitat