Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi Kein Inhalt!!!!!???? (https://www.delphipraxis.net/5500-kein-inhalt.html)

maximi 9. Jun 2003 13:04


Kein Inhalt!!!!!????
 
Ich lade mit Indy eine Datei auf den Server, aber wenn ich die Datei öffne ist sie ohne Inhalt!!!

Der Code:

IdFTP1.Put('c:\datei.txt',
ExtractFileName('datei.txt'));

Sharky 10. Jun 2003 06:39

Re: Kein Inhalt!!!!!????
 
Hai maximi,

willkomen im Forum.

Mit diesem Code habe ich keine Probleme (Indys aus Delphi 7)

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
begin
 IdFTP1.Username := '*********';
 IdFTP1.Password := '*********';
 idFTP1.Host := 'www.sharkys-home.de';
 idFTP1.Connect(true,-1);
 idFTP1.Put('c:\test.txt','test.txt');
 idFTP1.Disconnect;
end;

maximi 10. Jun 2003 18:50

Hallo!!!
Ich weiß woran's lag! Ich musste irgendwie passive auf true setzen!!
Danke trotzdem!!


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:02 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz