Comment out os.write(self.tempfile, "set ftp:ssl-protect-data true\n") in duplicity/backends/ftpsbackend.py as QnD fix.
Comment out os.write( self.tempfile, "set ftp:ssl- protect- data true\n") in duplicity/ backends/ ftpsbackend. py as QnD fix.