Nexific / dart_ftpclient

FTP Client Library for Dart Native
https://pub.dev/packages/ftpclient
MIT License
16 stars 5 forks source link

Flush file buffer before closing dataSocket #11

Closed wwwdata closed 4 years ago

wwwdata commented 4 years ago

Otherwise, there might be some data left that was not yet written into the dataSocket and uploaded files are corrupted

This fixes #7