Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdFtp property DataPortProtection
#1
Good day all.
 
Working in Delphi 10.2...
 
I found a tip from Remy on StackOverflow that says if a connection needs encryption I need to set .DataPortProtection to ftpdspPrivate.
 
When I try to do this at design time I get a message "Can not set DataPortProtection with unencrypted connections" - is there some other property on the TIdFtp or TIdSSLIOHandlerSocketOpenSSL objects I need to set?
 
Or do I set this in code after I've connected?  If so, I tried that and ftpdpsPrivate isn't recognized - what unit do I need o add to my uses clause?
 
 
drc  Smile
Reply


Messages In This Thread
TIdFtp property DataPortProtection - by dragonstar - 03-30-2022, 01:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)