diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-07-06 00:32:19 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-07-06 00:32:19 +0200 |
commit | 85cd2902772ec0fd7738363d4c2ae0bd42b57475 (patch) | |
tree | cf7c71e96f585542c6197178fdbbd791f4bf6d61 /FTPCommon.cpp | |
parent | fix issue when FS is out of space when overwriting large files (diff) | |
download | FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.gz FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.bz2 FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.lz FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.xz FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.zst FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.zip |
Diffstat (limited to 'FTPCommon.cpp')
-rw-r--r-- | FTPCommon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FTPCommon.cpp b/FTPCommon.cpp index 0651022..de5838e 100644 --- a/FTPCommon.cpp +++ b/FTPCommon.cpp @@ -143,7 +143,7 @@ bool FTPCommon::doNetworkToFile() void FTPCommon::closeTransfer() { - freeBuffer(); - file.close(); data.stop(); + file.close(); + freeBuffer(); } |