Autor Beitrag
smokydog
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Sa 04.06.05 15:07 
Hallo.

Also ich habe folgendes Problem. Ich lade per idHttp eine Datei. Aber es kann mal sein das ein jpeg ist oder eine txt Datei. Wie kann ich mit Delphi feststellen welcher Dateityp der String von idHttp ist ?

Danke.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 04.06.05 15:13 
Das siehst du doch an der Endung. Obwohl die natürlich keinen Einfluss auf den Inhalt der Datei hat. Aber als erster Anhaltspunkt sollte es erstmal ausreichen.
smokydog Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 38



BeitragVerfasst: Sa 04.06.05 15:37 
nein leider nit. Ich rufe eine Php datei auf und die regelt dann den inhalt.