unit Unit3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, TabNotBk, IdBaseComponent, IdComponent,
IdTCPConnection, IdTCPClient;
type
TForm3 =
class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Label1: TLabel;
Label2: TLabel;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form3: TForm3;
implementation
{$R *.dfm}
procedure TForm3.Button1Click(Sender: TObject);
var responseStream: TFileStream;
begin
responseStream := TFileStream.Create(edit2.text, fmCreate);
IdHTTP1.Get(edit1.text, responseStream);
responseStream.free;
end;
end.