"Öffne" doch einfach das WebInterface ... dann sollte das doch auch aktualisieren

Mit TWebBrowser sollte das gehen. Aber ich weiß nicht, wie ich da in die Anmeldeseite das Passwort eintragen und abschicken soll.
Evtl. steht in dem
HTML-Quelltext vom Web-Interface ja auch eine Funktion drin, die die Aktualisierung anstösst. Dann nur diese Funktion aufrufen.
Mit Winsockets sende ich an die Fritzbox:
Code:
POST /cgi-bin/webcm HTTP/1.1
Host: fritz.box:80
Accept: text/
xml
Accept-Encoding: *
Accept-Charset: ISO-8859-1
Keep-Alive: 115
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Content-Language: de
Content-Length: 66
getpage=../
html/de/home/foncallsdaten.xml&sid=8a05dc50736f72ed
und bekomme die
XML-Datei. Mit GET bekomme ich nur eine
HTML-seite mit einer Fehlermeldung.
In Live HTTP Header sieht der Aufruf der Aktualisierung in Firefox so aus:
Code:
http://fritz.box/cgi-bin/webcm?getpage=../
html/de/home/foncallsdaten.xml&sid=5a887fb327b9f147
GET /cgi-bin/webcm?getpage=../
html/de/home/foncallsdaten.xml&sid=5a887fb327b9f147 HTTP/1.1
Host: fritz.box
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept: text/
html,application/xhtml+
xml,application/
xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://fritz.box/cgi-bin/webcm?sid=5a887fb327b9f147&getpage=..%2Fhtml%2Fde%2Fmenus%2Fmenu2.html&errorpage=..%2Fhtml%2Fde%2Fmenus%2Fmenu2.html&var%3Apagename=foncalls&var%3Aerrorpagename=foncalls&var%3Amenu=fon&var%3Apagemaster=&time%3Asettings%2Ftime=1298562413%2C-60&var%3AshowDialing=&var%3Atype=0&var%3AvonFoncalls=&var%3AcurrFonbookID=&var%3APhonebookEntryNew=&var%3APhonebookEntryXCount=&var%3APhonebookEntryNumber=&telcfg%3Asettings%2FUseJournal=1&var%3AWaehlhilfeVon=
Cookie: currmenu=fon
HTTP/1.0 200 OK
Cache-Control: no-cache
Content-Type: text/
xml
Expires: -1
Pragma: no-cache