![]() |
Indy http mehrere dateien downloaden
HuHu!
ich würd gerne verschiedene xml-dokumente mit einem http get befehl laden. damit habe ich auch kein problem beim erstenmal, das zweite mal stürzt das dingen jedoch gnadenlos zwischen den beiden dokumenten ab.
Delphi-Quellcode:
modified.XML.Text := http.Get('xml/modified.xml?timestamp=0&password=' + passwortmd5); modified.Active := true; modified.SaveToFile(fAppPath + 'xml/' +'modified.xml'); modified.Active := False; -- hier der absturz (socketfehler 10061 - keine verbindung möglich) setting.XML.Text := http.Get('xml/setting.xml?timestamp=0&password=' + passwortmd5); setting.Active := true; setting.SaveToFile(fAppPath + 'xml/' +'modified2.xml'); setting.Active := False; die erste läd er noch ohne probleme aber dann: probiert dazwischen zusatzen hab ich : http.DisconnectSocket; http.Disconnect; http.Connect; nicht funktioniert... :pale: weiß jemand weiter ? ich habe es ausserdem mit threads versucht ging auch nicht :cry: :cry: :cry: :cry: |
Re: Indy http socketfehler 10061 obwohl erfolgreich (xml-fil
achso mit einer zweiten http komponente funktioniert es, aber es kann doch nicht sein dass ich dann für 5 xml files gleich 5 http komponente brauche!
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:16 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