bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214)

3 files changed