![]() |
Re: Lazarus - Synapse - Connect funzt nicht
Hi,
ich verwende das auch und mache es so:
Delphi-Quellcode:
Schau mal in die ftpSend unit rein, da sind Erläuterungen im Header drin.
ftp := tFTPSend.Create;
ftp.TargetHost := ftpHostAddr; ftp.TargetPort := cFtpProtocol; ftp.UserName := ftpUsername; ftp.Password := ftpPassword; ftp.DirectFile := true; if ftp.Login then begin ftp.DirectFileName := localfn; if ftp.RetrieveFile('/done/' + remotefn, false) then begin // alles ok end else begin // fehlerbehandlng end; ftp.Logout; end else Logout('could not connect to FTP server'); ftp.Free; Gruss |
Re: Lazarus - Synapse - Connect funzt nicht
Wtf! Besten Dank. Es lag also nur an dem Set von IP/UN/PORT/PW...Falsche Properties gewähls :(
Nochmal Danke. Arbeitest du viel mit synapse? falls ich nochmal irgendwo nicht weiter weis? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:56 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