![]() |
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')); |
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; |
Hallo!!!
Ich weiß woran's lag! Ich musste irgendwie passive auf true setzen!! Danke trotzdem!! |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:31 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz