Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdFtp property DataPortProtection
#3
(03-30-2022, 01:16 PM)dragonstar Wrote: When I try to do this at design time I get a message "Can not set DataPortProtection with unencrypted connections"

That error happens if you try to set the TIdFTP.DataPortProtection property when the TIdFTP.UseTLS property is set to utNoTLSSupport. You have to assign an SSLIOHandler and then enable SSL/TLS via UseTLS before you can then set the DataPortProtection.

(03-30-2022, 01:16 PM)dragonstar Wrote: ftpdpsPrivate isn't recognized - what unit do I need o add to my uses clause?

It is declared in the IdFTPCommon unit.

Reply


Messages In This Thread
RE: TIdFtp property DataPortProtection - by rlebeau - 03-30-2022, 04:38 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)