File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
66
7+ ## [ Unreleased]
8+
9+ ### Fixed
10+
11+ - Incomplete FTPFile.write when using ` workers ` @geoffjukes
712
813## [ 2.1.2] - 20180-11-10
914
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ Credits
9696* [ Will McGugan] ( https://github.com/willmcgugan )
9797* [ Martin Larralde] ( https://github.com/althonos )
9898* [ Giampaolo] ( https://github.com/gpcimino ) for ` copy_if_newer ` and ftp fixes.
99+ * [ Geoff Jukes] ( https://github.com/geoffjukes ) for ftp fixes.
99100
100101PyFilesystem2 owes a massive debt of gratitude to the following
101102developers who contributed code and ideas to the original version.
Original file line number Diff line number Diff line change @@ -190,6 +190,7 @@ def close(self):
190190 if self ._write_conn is not None :
191191 self ._write_conn .close ()
192192 self ._write_conn = None
193+ self .ftp .voidresp () # Ensure last write completed
193194 if self ._read_conn is not None :
194195 self ._read_conn .close ()
195196 self ._read_conn = None
You can’t perform that action at this time.
0 commit comments