We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099011e commit 9372b40Copy full SHA for 9372b40
Doc/library/ftplib.rst
@@ -550,11 +550,18 @@ FTP_TLS objects
550
551
.. method:: FTP_TLS.prot_p()
552
553
- Set up secure data connection.
+ Set up secure data connection (with TLS).
554
555
.. method:: FTP_TLS.prot_c()
556
557
- Set up clear text data connection.
+ Set up clear text data connection (without TLS).
558
+
559
+ .. warning::
560
561
+ Calling this method may create a vulnerability to
562
+ `man-in-the-middle attack <https://en.wikipedia.org/wiki/Man-in-the-middle_attack>`_.
563
+ Please reflect on your `threat model <https://en.wikipedia.org/wiki/Threat_model>`_
564
+ before requesting clear text data connection without TLS.
565
566
567
Module variables
0 commit comments