Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi IdHttp und proxy (https://www.delphipraxis.net/123327-idhttp-und-proxy.html)

ghost007 30. Okt 2008 21:52


IdHttp und proxy
 
Ich hab mich gefragt, wie man die idhttp kompo über nen proxy jagen kann.
Es geht irgendwie mit den proxy params ... aber ich hab keine ahnung was ich da eingeben muss.
Kann mir evtl jemand eine beispieleinstellung posten? Bzw auch was ich alles einstellen muss?

Danke - MfG - Ghost007

Die Muhkuh 30. Okt 2008 21:59

Re: IdHttp und proxy
 
Genau so heißen die. ProxyParams, musst mal im OI schauen.

http://img395.imageshack.us/img395/7...auqusofsp3.jpg

Hobby-Programmierer 30. Okt 2008 22:02

Re: IdHttp und proxy
 
Zitat:

Zitat von Die Muhkuh
Genau so heißen die. ProxyParams, musst mal im OI schauen.

http://img395.imageshack.us/img395/7...auqusofsp3.jpg

ist der Bildname jetzt deiner freien Kreation entsprungen oder hat der einen tieferne Sinn? :lol:

ghost007 30. Okt 2008 22:02

Re: IdHttp und proxy
 
Zitat:

Zitat von Die Muhkuh
Genau so heißen die. ProxyParams, musst mal im OI schauen.

http://img395.imageshack.us/img395/7...auqusofsp3.jpg

ja gut, soweit war ich schon ^^ aber hat jemand vll beispiel daten? ... irgendwie bin ich zu doof welche im netz zu finden x_X

Die Muhkuh 30. Okt 2008 22:04

Re: IdHttp und proxy
 
Zitat:

Zitat von Hobby-Programmierer
Zitat:

Zitat von Die Muhkuh
Genau so heißen die. ProxyParams, musst mal im OI schauen.

http://img395.imageshack.us/img395/7...auqusofsp3.jpg

ist der Bildname jetzt deiner freien Kreation entsprungen oder hat der einen tieferne Sinn? :lol:

Nö, ist automatisch generiert. :zwinker: Die SAU vornedran steht für Shot'n'Upload, dass Programm das ich dafür nutze, um Bilder auf Imageshack hochzuladen. :)

@Christian: Die Daten musst du ja wissen, zu welchem Proxyserver Du verbinden musst? :gruebel:

ghost007 30. Okt 2008 22:05

Re: IdHttp und proxy
 
Zitat:

Zitat von Die Muhkuh
Zitat:

Zitat von Hobby-Programmierer
Zitat:

Zitat von Die Muhkuh
Genau so heißen die. ProxyParams, musst mal im OI schauen.

http://img395.imageshack.us/img395/7...auqusofsp3.jpg

ist der Bildname jetzt deiner freien Kreation entsprungen oder hat der einen tieferne Sinn? :lol:

Nö, ist automatisch generiert. :zwinker: Die SAU vornedran steht für Shot'n'Upload, dass Programm das ich dafür nutze, um Bilder auf Imageshack hochzuladen. :)

@Christian: Die Daten musst du ja wissen, zu welchem Proxyserver Du verbinden musst? :gruebel:

okay, ich sags anders ^^ ... es gibt ja public proxys im netz ... bzw ich hab keinen bestimmten, ich will einfach mal irgend einen ausprobieren ... aber ich find nix :(

x000x 30. Okt 2008 22:11

Re: IdHttp und proxy
 
Moin moin,
Proxyliste

ghost007 30. Okt 2008 22:14

Re: IdHttp und proxy
 
Zitat:

Zitat von x000x
Moin moin,
Proxyliste

ok, ok ^^ auf der site war ich auch schon ... sorry :shock: schande über mein haupt ... aber ich habs nicht hinbekommen die daten so einzugeben, dass z.b. folgendes funktioniert:

Delphi-Quellcode:
 Memo1.text:=idHttp1.get('http://www.google.de');

Hobby-Programmierer 30. Okt 2008 22:20

Re: IdHttp und proxy
 
oder hier und hier ne aktuellere
so wirds gemacht
Delphi-Quellcode:
For Indy 9.0 and Indy 10

HTTP1.ProxyParams.ProxyServer := [the DNS name of the proxy server or its IP address]
HTTP1.ProxyParams.ProxyPort := [port the HTTP the HTTP proxy listens on]
HTTP1.ProxyParams.ProxyUsername := [username if the proxy requires authentication]
HTTP1.ProxyParams.ProxyPassword := [password if the proxy requires authentication]

ghost007 30. Okt 2008 22:26

Re: IdHttp und proxy
 
Zitat:

Zitat von Hobby-Programmierer
oder hier und hier ne aktuellere
so wirds gemacht
Delphi-Quellcode:
For Indy 9.0 and Indy 10

HTTP1.ProxyParams.ProxyServer := [the DNS name of the proxy server or its IP address]
HTTP1.ProxyParams.ProxyPort := [port the HTTP the HTTP proxy listens on]
HTTP1.ProxyParams.ProxyUsername := [username if the proxy requires authentication]
HTTP1.ProxyParams.ProxyPassword := [password if the proxy requires authentication]

gut, wenn ich jetzt aber von der oben genanneten site IP und port angebe und dann die zeile code ausführe geht nix >.<


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:03 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz