Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi IdFTP: PORT: command not implemented (https://www.delphipraxis.net/192323-idftp-port-command-not-implemented.html)

Hobbycoder 8. Apr 2017 12:16

IdFTP: PORT: command not implemented
 
Hi,

ich erhalte bei folgendem Code
Delphi-Quellcode:
  try
    FFTP.OnWork:=FTPWork;
    FFTP.OnWorkBegin:=FTPWorkBegin;
    FFTP.OnWorkEnd:=FTPWorkEnd;
    FFTP.Host:=FFTPHost;
    FFTP.Port:=FFTPPort;
    FFTP.Username:=FFTPUser;
    FFTP.Password:=FFTPPass;
    FFTP.Connect;
    if FFTP.Connected then
    begin
      FFTP.ChangeDir(FFTPDestPath);
      FFTP.TransferType:=ftBinary;
      FFTP.Put(FLocalFilename, FFTPDestFilename, False);
      FFTP.Disconnect;
    end;
  finally
    FTPFinished;
    FFTP.Free;
  end;
immer die Fehlermeldung
Code:
EidReplyRFCError ''Port': command not implemented'
.

Kann mir jemand sagen was das bedeutet, bzw. was ich falsch mache? (Win10/Delphi 10.1 Berlin)

Gruß Hobbycoder

Hobbycoder 8. Apr 2017 12:50

AW: IdFTP: PORT: command not implemented
 
Hat sich erledigt, mit FFTP.passive:=true geht's.

Aber wie geht's mit passive=false? Und welche Vorteile/Nachteile hat das?

hoika 8. Apr 2017 16:06

AW: IdFTP: PORT: command not implemented
 
Hallo,
Google?

https://www.hosteurope.de/faq/webhos...iv-passiv-ftp/


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:39 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