Autor Beitrag
michback
Hält's aus hier
Beiträge: 8



BeitragVerfasst: Di 02.03.04 15:05 
Hier noch mal mein Problem :

ich rufen die Seite auf 192.168.1.40

Sobald ich das getann habe Pop ein Fenster wo ich mich anmelden soll.

Dieses Fenster kommt aber nicht im Fenster des Twebrowsers sonder kommt im Windows direkt.

Wie kann ich diesen abfragen und ausfüllen(Benutzername und Passwort)


Danke

PS: Habe das forum schon durchsucht
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Di 02.03.04 16:46 
Hallo,

ich kann dir zwar nicht ganz folgen, was / wie das gehen soll das ein WebBrowser ein Windows Fenster "macht" aber nun gut.

Fenster findest du mit FindWindow();
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 02.03.04 17:49 
kommt drauch an, wie du das aufrufst ... wenn du das mit indy machst ist das ganz einfach.

@bungeebug: er meint den standard authenifizierungsdialog vom IE

_________________
In the beginning was the word.
And the word was content-type: text/plain.
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Di 02.03.04 18:09 
HI,

den normale -htaccess Dialog kann man mit folgendem Link "umgehen".

<Benutzername>...ver>:<Port>
Klaus-B.Schmidt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

WinXP u. Win2000
D6 Enterprise
BeitragVerfasst: Di 01.06.04 08:23 
hi, ich hab das aml versucht um eine datei zu downloaden, da kommt aber immer Socket-Error #11001 und makiert mir folgende zeile:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Button1Click(Sender: TObject);
var responseStream: TFileStream;
begin
  responseStream := TFileStream.Create(edit2.text, fmCreate); //<--die da!  IdHTTP1.Get(edit1.text, responseStream);
  responseStream.free;
end;


bei dateien, die nicht mit htaccess geschützt sind funzt es einwandfrei .

MfG
Klaus

Moderiert von user profile iconPeter Lustig: Code- durch Delphi-Tags ersetzt.
Klaus-B.Schmidt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

WinXP u. Win2000
D6 Enterprise
BeitragVerfasst: Di 01.06.04 13:19 
sorry, wegen doppelpost, aber hab ich hier irgendetwas verbrochen ?

mir geht es darum, dass ich eine datei mit hilfe von indy aus einem htaccess geschütztem bereich downloaden möchte.

ES IST DRINGEND

Hoffe mir kann da doch jmd. helfen :)


MfG
Klaus
FaTaLGuiLLoTiNe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 200
Erhaltene Danke: 5

Windows 7, Windows 8.1
Delphi XE
BeitragVerfasst: Di 01.06.04 13:41 
Was steht denn bei Deinem Beispiel in Edit1.Text bzw. Edit2.Text?

_________________
<< FaTaLGuiLLoTiNe >>
Rhinoceroses don't play games!
Klaus-B.Schmidt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

WinXP u. Win2000
D6 Enterprise
BeitragVerfasst: Di 01.06.04 14:27 
edit1.text is der serverpfad: <User>:<Pas...ver.de/test/test.zip
edit2.text ist der zielphad : C:\test.zip

MfG
Klaus
Klaus-B.Schmidt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

WinXP u. Win2000
D6 Enterprise
BeitragVerfasst: Di 01.06.04 15:50 
so, habs hinbekommen:

man gibt in komponenteneigenschaften/request Username und PAsswort des bereiches ein, und lädt die datei einfach mit dem normalen url ohne <user>:<passwort>@ davor.

thx FaTaLGuiLLoTiNe für den tipp

MfG
Klaus