Kaydet (Commit) 6733d701 authored tarafından Brett Cannon's avatar Brett Cannon

Change the default encoding for ftplib.FTP to latin1 so that bytes can be in

the range of 255 instead of only 128.
üst 9f2c39a7
......@@ -103,7 +103,7 @@ class FTP:
file = None
welcome = None
passiveserver = 1
encoding = "ASCII"
encoding = "latin1"
# Initialization method (called by class instantiation).
# Initialize host to localhost, port to standard ftp port
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment