![]() |
Indy HTTP download problem
Hallöchen, ich hab ma wieder ein Problem mit indyhttp. Diesmal ist es nicht der dämliche socketfehler 10061, aber es funzt trotzdem nicht.
Meldung:'http/1.1 301 Moved permanently'. was bedeutet das? und stimmt mein code überhaupt?
Delphi-Quellcode:
es ist zum :kotz:
var
Form1: TForm1; fn: Tfilename; fs : Tfilestream; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin fn := ('C:/download.htm'); fs := Tfilestream.Create(fn, fmcreate); try HTTP.Get('http://www.yahoo.de', fs); except end; fs.free; end; mit google klappt des allerdings. Ichhabe keinen Proxy, aber einen router. |
Re: Indy HTTP download problem
Hallo,
setze doch einfach die Eigenschaft HandleRedirects deiner HTTP-Client Komponente auf TRUE. Grüße vom marabu |
Re: Indy HTTP download problem
dankeschön,, jetzt funktionierts.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:40 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz