![]() |
Existiert eine Datei auf dem Server?
Sakura stellt
![]()
Delphi-Quellcode:
uses
...., IdHTTP; .... function HTTPFileExists(aURL: String): Boolean; begin with TIdHTTP.Create(nil) do try try Head(aURL); Result := ResponseCode = 200; except Result := False; end; finally Free; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:20 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