Autor Beitrag
DeltaEx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110



BeitragVerfasst: Mo 25.11.02 15:54 
Ich brache einen Befehl um eine Url zu ausführen! Ohne das sich der Browser öffnet.

_________________
Delphi forever
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 25.11.02 16:10 
Hi!

Was soll denn ausgeführt werden? Eine URL gibt nicht zwangsläufig eine EXE-Datei an...

Der erste Schritt ist, sich die EXE-Datei herunterzuladen. Dazu findest du hier im Forum genug.

Der zweite Schritt ist, die heruntergeladene Datei auszuführen. Dieto (Siehe z.B. ShellExecute).

Cu,
Udontknow
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 25.11.02 17:26 
du köntest INDY nehemn.

ausblenden Quelltext
1:
idHTTP1.get ('dieURLalsSTRING');					

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



BeitragVerfasst: Mo 25.11.02 20:40 
Jo das mit Indy klappt gut es wir auch die Url ausgeführt aber ich kriege nachher noch diese Fehlermeldung:

user defined image

Was kann das sein`?

_________________
Delphi forever
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Mo 25.11.02 20:50 
wenn alles andere geht bind es doch in einen try finally block ein


mit der art probleme zu lösen sollte dich microsoft-programmierer werden

HAHAAAAAAAAAAAAA!!!!! :rofl: :mrgreen: :rofl:

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
DeltaEx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110



BeitragVerfasst: Mo 25.11.02 21:10 
ne ist immer noch der Fehler:

Ich benutze nur Den Befehl:

IdHTTP1.Get('/open/aktion/weihnachtsmagazin/racer/index.php?ACTION=getGame&form...);

und als Host= www.coreex.de

_________________
Delphi forever
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 25.11.02 21:43 
Öh, weiss nicht, ist das vielleicht einfach ein Hinweis, dass die Zieldatei bereits existiert? Vielleicht musst du einfach nur vor dem Download die lokale Datei löschen.

Cu,
Udontknow
DeltaEx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110



BeitragVerfasst: Mo 25.11.02 22:05 
DAS IST KEIN DOWNLOAD!!! Da wir nur ein Skript ausgeführt!!

_________________
Delphi forever
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 25.11.02 22:29 
:oops: Oh, sag das doch gleich... :wink:
DeltaEx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110



BeitragVerfasst: Mo 25.11.02 23:02 
weiss keiner??

_________________
Delphi forever
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Di 26.11.02 00:20 
DeltaEx hat folgendes geschrieben:
DAS IST KEIN DOWNLOAD!!! Da wir nur ein Skript ausgeführt!!


Führt das nicht zwangsläufig zu einem Download?
Er lädt dann das herunter, was du auch im Browser zu sehen bekommst, wenn du die URL eingibst.


302 ist die Fehlermeldung, die vom Server kommt. Diese bedeutet "ERROR: 302 Moved Temporarily".

Was passiert denn, wenn du die URL im Browser eingibst?

_________________
If accidentally read, induce vomitting.
DeltaEx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 110



BeitragVerfasst: Di 26.11.02 00:40 
Wenn ich es in den Browser eingebe dann wir es ausgeführt.

die Url ist so ein teil:

... index.php?ACTION=getGame&form[submitter]= ...

die Url schickt eine SMS

_________________
Delphi forever
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Di 26.11.02 08:00 
Nun, vielleicht klappts ja mit der Methode Post?

Cu,
Udontknow
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Di 26.11.02 17:25 
sag doch gleich das du n php-script ausführen willst!!

send methode= "post";

_________________
Patrick
im zweifelsfall immer das richtige tun!!!