Autor Beitrag
NeWsOfTzzz
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 14:32 
Also ich würde gerne eine website runterladen, also nur den quelltext, besser gesagt die .html datei. Und dann würde ich gerne noch von dieser .html Datei die Größe ermitteln. Es geht um folgende Seite:
www.tibia.com/home/index.php?subtopic=news
PS: vielleicht geht die Größe ermitteln ja mit sizeof() wenn man das auf dateien anwenden kann :P
Bräuchte halt dringend die Befehle, den restlichen Code mach ich schon selber :P
delphinap
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 42



BeitragVerfasst: So 08.05.05 14:56 
Wenn die Site offen ist, STRG + S drücken =)
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 14:57 
nene dat muss ja automatisch funktionieren
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 08.05.05 14:58 
Mit idHTTP.Get funktionierts.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 15:01 
gibt´s sowas in delphi 4? find dazu nix in der hilfe :P
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 08.05.05 15:05 
Das gibs für Delphi 4 - 2005:
www.indyproject.org/download/index.iwp

_________________
JSXGraph
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 15:12 
Für Delphi 4 gibt´s nur ne opensource distribution und ich hab nicht so dieee LUST drauf, das alles noch hinzubasteln. Gibt´s dafür denn nicht nen Befehl in Delphi selber?
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 08.05.05 15:17 
user profile iconNeWsOfTzzz hat folgendes geschrieben:
Gibt´s dafür denn nicht nen Befehl in Delphi selber?

Suche in: Delphi-Forum, Delphi-Library URLDOWNLOADTOFILE

_________________
JSXGraph
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 15:23 
die funktion gibt´s anscheinend auch nicht in delphi 4 -.-
[Fehler] newsgetter.pas(26): Undefinierter Bezeichner: 'urldownloadtofile'
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 08.05.05 15:34 
Wärst du dem link gefolgt, hättest du gesehen, dass du die Unit urlmon mit einbinden musst.

_________________
JSXGraph
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 15:36 
Ich bin dem Link gefolgt, aber die Threads wo ich war, da haben die einfach alle die Funktion wie selbstverständlich benutzt.
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 17:53 
Es geht nicht!
Also wenn ich so ne url hab: "www.blubb.de/index.htm" dann geht´s.
Aber bei folgender: "http://www.tibia.com/home/index.php?subtopic=news" geht´s nicht.
Maweki
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: So 08.05.05 18:22 
weil die funktion vermutlich kein HTTP-get unterstuetzt...
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: So 08.05.05 18:28 
oder weil sie explizit eine HTML-Datei braucht und nicht auf sowas mit offener Endung oder so zugreifen kann.
:nixweiss:
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 08.05.05 19:58 
Dann musst du's eben doch mit den Indy's machen. Ist nicht soooo schwer... Also. Du lädst dir diese Datei runter. Entpackst das Archiv und klickst dann die dclIndy40.dpk doppelt an. Im nächsten Fenster einfach erst auf Compile/Kompilieren und dann auf Install/Installieren klicken. Schließen, speichern. Das war's. ;)

Und dann suchst du einfach mal hier im DF nach Suche in: Delphi-Forum, Delphi-Library IDHTTP1.GET
;)
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: So 08.05.05 20:41 
ok ich hab´s so gemacht wie du gesagt hast, dann drück ich auf compilieren dann kommt folgendes:
[Fataler Fehler] dclIndyCore40.dpk(28): Datei nicht gefunden: 'F:\Delphi\DelphiX2000_0717-2\Source\designide.dpk'
anmerkung: ich hab delphix installiert -.-
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mo 09.05.05 12:47 
Ist F: ein CD-Rom-Laufwerk?
NeWsOfTzzz Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 233


D4 Prof
BeitragVerfasst: Fr 13.05.05 21:03 
Ok es war die falsche Datei die ich hatte, ich hatte die datei indy10 source und dachte dein download link wäre dasselbe. Jetzt hab ich mir mal deinen link runtergeladen und hier tritt auch ein fehler auf:
[Fehler] IdAuthenticationDigest.pas(92): Inkompatible Typen: 'TStream' und 'String'
[Fataler Fehler] Indy40.dpk(197): Verwendete Unit 'IdAuthenticationDigest.pas' kann nicht compiliert werden
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Fr 13.05.05 21:18 
:arrow: www.delphipraxis.net/post33497.html

^^der da hat das selbe Problem. ;)
Seine Lösung find' ich aber etwas radikal. Einfach ein anderes Delphi draufgemacht. :nixweiss: Aber falls du das auch machen willst: Suche in: Delphi-Forum, Delphi-Library UMSONST DELPHI NOCH

Bzw. hier: www.delphi-forum.de/...delphi+noch+personal