Registriert seit: 24. Jan 2005
Ort: Karben
626 Beiträge
Delphi XE7 Architect
|
Re: download in turbo-d. ohne url
14. Apr 2009, 01:08
Versuchs mal so: (Ungetestet)
Delphi-Quellcode:
procedure TForm1.Button2Click(Sender: TObject);
var MyIdHttp: TIdHttp;
MyStream : TFilestream;
begin
MyStream := TFileStream.Create;
try
MyIdHttp := TIdHttp.Create;
try
MyIdHttp.Get(' http://s37b1-cb.uploaded.to/dl?id=74db62b0f2ca24a28cacdbcfadb7a74d', MyStream);
finally
MyIdHttp.Free;
end;
//Tu irgendwas mit MyStream
finally
FreeAndNil(MyStream);
end;
end;
Christian
|