Autor Beitrag
MCQ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Windows 95/98/XP
Delphi 7 Etp.
BeitragVerfasst: Mi 07.01.04 15:29 
Ich möchte ein Programm schreiben, das eine Update-Funktion beinhaltet. Allerdings stehe ich da vor zwei kleinen Problemen.

1.) Wie kann ich überprüfen ob eine Datei im Internet auch wirklich existiert?
2.) Wie kann ich eine Datei über ein Delphi-Programm herrunterladen?

Danke im vorraus
MCQ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Windows 95/98/XP
Delphi 7 Etp.
BeitragVerfasst: Mi 07.01.04 15:42 
OK, das Problem mit dem download habe ich jetzt gelöst, jetzt bleibt nur noch die frage offen, wie überprüfe ich die existenz der Datei im WWW ?
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Mi 07.01.04 16:18 
Im Prinzip genauso, wenn die Datei existiert, lädst Du sie herunter, im anderen Fall erhältst Du einen Fehler (404 bei http)