Autor Beitrag
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 14:27 
hi!
Also ich habe folgendes Problem: Ich hab mir die Indy HTTP Server Demo gesaugt und die funzzt auch wirklich super wenn ich mir HTML anschauen will. Jetzt meine Frage, ist es möglich, dass wenn man auf 127.0.0.1 geht nich die Index.html sondern einen Ordner Inhalt? Also so wie bei Apache?? :?:
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: So 15.06.03 15:03 
Das must Du dann schon selber proggen... Also FindFirst, FindNext... und dann eine einfache HTML-Seite basteln und ausgeben 8)

_________________
Michael
(principal certified lotus professional - developer)
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 15:14 
mhh...bin ziemlich Neuanfänger, wie funktioniert das mit FindFirst??
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: So 15.06.03 15:21 

_________________
Michael
(principal certified lotus professional - developer)
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 15:25 
oke, danke, soweit sogut, jetzt müsst ich theoretisch alle Dateien aus dem Ordner finden aud auflisten lassen. Das ganze dann als HTML exportieren, oder?
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: So 15.06.03 15:29 
genau :lol: ...
"exportieren" heist hier allerdings, dass Du eine html-Seite (string) bastelst und der Response zuweist...

_________________
Michael
(principal certified lotus professional - developer)
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 15:31 
okay, ich denk das schaff ich mit Hilfe von google. Wenns noch fragen gibt meld ich mich wieder hier. Vielen, vielen Dank :) :!:
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 16:25 
Oke, also ich hab doch noch ne Frage: Wenn ich die Fileliste erstelle, dann mach ich das so:

ausblenden Delphi-Quelltext
1:
FindFiles (ExtractFilePath(Application.exename), '*.*', True, ListBox1.Items);					

Jetzt steht da aber immer C:\Ordner\Datei.txt, C:\Ordner\Datei2.txt usw. Wie schaff ich es, dass da nich immer C:\Ordner steht sondern wirklich nur der Dateiname :oops: :?:
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: So 15.06.03 16:32 
1. Ich würde die Werte nicht in eine ListBox schreiben, sondern in eine StringList (Du brauchst doch keine Anzeige in der Serversoftware?)
2. in der Funktion FindFiles steht
ausblenden Quelltext
1:
aResult.Add (aPath + FindRec.Name);					

ersetze den Code durch:aResult.Add (FindRec.Name);
und Dein Problem ist gelöst, da aPath den Pfad enthällt.

_________________
Michael
(principal certified lotus professional - developer)
CGerdon
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 15.06.03 16:37 
Hätte ich eigendlich auch selber draufkommen können ;) Danke!