Autor Beitrag
schakal242
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 33

Win XP Prof.
D6 Prof
BeitragVerfasst: So 21.09.03 15:27 
Hallo,

kann ich vor dem Aufruf von GET (IdHTTP) schon an Informationen über die zu downloadende Datei bekommen? Ich benötige das Datum und Zeit der letzten Modifizierung der Datei; zwecks aktualisierung.

Gruss aus Hannover

Ulf

_________________
Wenn Du keins hast, aber eins brauchst, wirst Du es merken...
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 22.09.03 18:10 
hmmm, das bekommst du nicht so einfach aus ner HTTP Response raus. du müsstest du dir ein PHP script schreiben, das das abfragt und dir mitteilt.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
schakal242 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 33

Win XP Prof.
D6 Prof
BeitragVerfasst: Di 23.09.03 16:37 
Ich habs jetzt...
man bekommt es über:

IdHTTP1.Head(Serverr+CityName+region);
DateServer:=idhttp1.Response.LastModified;

trotzdem vielen Dank.

Gruss

Ulf

_________________
Wenn Du keins hast, aber eins brauchst, wirst Du es merken...
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 23.09.03 18:43 
oha. das musste ich noch nicht.
ich dachte bisher dass das nicht vom http protokoll unterstützt wird.

danke für deine verbesserung. schon wieder schlauer geowrden !

_________________
In the beginning was the word.
And the word was content-type: text/plain.