Thema: Delphi Download-Programm

Einzelnen Beitrag anzeigen

s-off
(Gast)

n/a Beiträge
 
#16

Re: Download-Programm

  Alt 28. Sep 2007, 15:40
Zitat von Rastaman:
MSDN-Library durchsuchenURLDownloadToFile ist doch viel einfacher und braucht keine Indys.
Sehr schön, kannte ich noch gar nicht

Delphi-Quellcode:
Procedure TForm1.Button2Click(Sender: TObject);
Const
   sSOURCE: String = 'http://www.delphipraxis.net/templates/DPClassicBlue/images/logo_left.gif';
   sTARGET: String = 'C:\Download\Test.gif';
Begin
   URLDownloadToFile(Nil, PChar(sSOURCE),PChar(sTARGET), 0, Nil);
End;
Funktioniert einwandfrei! Man lernt nie aus - danke
  Mit Zitat antworten Zitat