Autor Beitrag
JJ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Windows XP 64 bit!
delphi 5
BeitragVerfasst: So 14.03.04 19:58 
wie kann ich eine datei deren adresse ich angebe in das aktuelle verzeichnis herunterladen ohne den download erst bestätigen zu müssen? er muss die datei die schon existiert ohne meldung durch die neue ersetzt werden. ich weiss das is ne menge holz aber eineer von euch kann mir bestimmt helfen :D :D :D 8)

Moderiert von user profile iconTino: Topic verschoben.

_________________
Hallo!
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 14.03.04 21:05 
Suche in: Delphi-Forum, Delphi-Library URLDOWNLOADFROMFILE -> Forensuche.
JJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 100

Windows XP 64 bit!
delphi 5
BeitragVerfasst: Mo 15.03.04 16:55 
och man ... hätte ich was gefunden was mir hilft hätte ihc ja net gefragt ... aknn mir net mal jemand genau erklären wie das geht?

_________________
Hallo!
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Mo 15.03.04 17:22 
Besorg dir die Komponente HTTPGet auf der Seite www.utilmind.com/delphi2.html

Die ist relativ einfach, klein, free und hat den Quellcode und ein Beispielprojekt dabei.
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Mi 17.03.04 16:10 
Warum wollen hier immer alle Leute für jedes noch so kleine Problem extra Komponenten benutzen?

Ganz einfach URLMon in die uses-Klausel einbinden und dann
URLDownloadToFile(NIL, PChar(Url), PChar(Datei), 0, NIL); benutzen.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 17.03.04 20:44 
Wenn man hier (Suche in: Delphi-Forum, Delphi-Library URLDOWNLOADTOFILE) oder da (Suche in der Delphi-PRAXiS URLDOWNLOADTOFILE) sucht, findet man sogar die bessere Variante mit Progressbar; sprich: Fortschrittsanzeige.
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Mi 17.03.04 22:51 
derDoc hat folgendes geschrieben:
Warum wollen hier immer alle Leute für jedes noch so kleine Problem extra Komponenten benutzen?


Ganz einfach: die Komponente ist klein, sie ist gut, es gibt den Sourcecode, sie bietet eine Progressanzeige und (!) sie downloadet auch bereits unterbrochene Dateien weiter.

Wenn du die URLDownloadToFile Function nimmst und auch noch eine Fortschirtsanzeige haben willst, dann wird es etwas komplizierter. Nicht unmöglich, aber komplizierter. Das Beispiel von dir ist gut für kleine Downloads, aber nichts für große.