Autor Beitrag
Boller
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mi 06.06.07 16:10 
Hallo,

habe den Delphi Tipp erfolgreich testen können, wo man per HTTP Dateien per Filestream von einem Server auf seine Platte ziehen kann.

idhttp.get('',stream)

dabei musste ich aber den genauen Dateiname wissen.

Ist es auch möglich per *.* alle downloadbaren Files zu erhalten. Geht das?

Danke euch.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 06.06.07 16:16 
AFAIK nein. Bitte nicht hauen, wenns doch geht :-)
Man könnte natürlich ein directory listing abrufen und dann alles Stück für Stück runterladen. Geht aber IMHO nur wenn keine index.* da ist und der Apache nicht anders eingestellt ist.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Mi 06.06.07 16:43 
Du kannst natürlich auch per Brute-Force alle Dateinamen, die möglich wären durchprobieren :angel:
Das könnte nur ein wenig Zeit in Anspruch nehmen. :mrgreen:

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 06.06.07 18:44 
user profile iconjakobwenzel hat folgendes geschrieben:
Du kannst natürlich auch per Brute-Force alle Dateinamen, die möglich wären durchprobieren :angel:
Das könnte nur ein wenig Zeit in Anspruch nehmen. :mrgreen:

Wie lange dürfen Dateinamen unter Linux (gehen wir mal von nem LAMP-System aus) maximal sein?
Also ich hoffe mal, dass das als Witz gemeint war...
//EDIT: OK, die Smilies erklären alles. Man sollte eben nicht so oft mit Lynx surfen, Bilder sagen mehr als die Ersatztexte... :mrgreen:

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Boller Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Do 07.06.07 11:43 
Titel: directory listing abrufen?
wie sieht das denn Quellcode mäßig aus?

ich habe nur die idHHTP Komponenten zur Zeit drauf.

habe auch schon per brute force meine dateien erhalten, da die dateien alle mit Monat oder Jahres zahlen gekennzeichnet sind aber sonst immer identisch lauten.

aber wie gesagt wenn ich nun nur einen HTTP-Pfad kenne. Beispiel: www.gmx.de\movies\
in dem Ordner gibt es dann nur *.mpg Files, die ich dann alle automatisiert downloaden möchte.

geht das?

wenn ..\movies\123.mpg
..\movies\erjhjdfgk.mpg

einzelnd und beim bekannten Namen klappt das ja sehr gut idhhp.get....

danke im vorraus.