Autor Beitrag
hedie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249

WIN XP WIN 2000 WIN Longhorn
D7 Pers D2005 Architect Vollversion
BeitragVerfasst: Mo 30.05.05 13:44 
hallo

weshalb funktioniert das nicht

ausblenden Delphi-Quelltext
1:
idftp1.Get('chat1.txt');					

_________________
Grüsse hedie
hört auf traurig zusein hört lieber radio Basilisk
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 30.05.05 13:48 
Hast du eine Verbindung zum Server? Stimmen Username und Passwort? :roll: ;)
hedie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249

WIN XP WIN 2000 WIN Longhorn
D7 Pers D2005 Architect Vollversion
BeitragVerfasst: Mo 30.05.05 13:50 
ja put funktioniert ohne probleme nur bei get kann delphi es nicht compilieren es sagt
ausblenden Quelltext
1:
[Fehler] Unit2.pas(90): E2250 Es gibt keine überladene Version von 'Get', die man mit diesen Argumenten aufrufen kann					

_________________
Grüsse hedie
hört auf traurig zusein hört lieber radio Basilisk
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 30.05.05 13:55 
Dann fehlt noch ein Parameter. ;) Hatte ich übersehen. ;) Du musst noch angeben, wo die Datei gespeichert werden soll. ;) Auch wieder String. Als dritter Parameter, ob die Datei, falls sie schon existiert, überschrieben werden soll. ;)
hedie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249

WIN XP WIN 2000 WIN Longhorn
D7 Pers D2005 Architect Vollversion
BeitragVerfasst: Mo 30.05.05 13:56 
beispiele bitte bin noch nicht sehr gut mit idftp :oops:

_________________
Grüsse hedie
hört auf traurig zusein hört lieber radio Basilisk
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 30.05.05 16:40 
ausblenden Delphi-Quelltext
1:
IdFTP1.Get('FTP_File.dat', 'C:\LOCAL_File.dat', True);					

Das saugt dir jetzt die FTP_File.dat und speichert es nach C:\LOCAL_File.dat. Wenn die Datei schon existiert, wird sie überschrieben (siehe True am Ende). ;)