eclipse-ecal / fineftp-server

📦 C++ FTP Server Library for Windows 🪟, Linux 🐧 & more 💾
MIT License
311 stars 64 forks source link

Fixed empty-file issue #66

Closed FlorianReimold closed 8 months ago

FlorianReimold commented 8 months ago

Fixed a bug that caused empty files to be not downloadable. Added GTest that tests uploading and downloading empty files.

Before, files with no content reported an error when trying to download them. Now, they are properly "downloaded", i.e. the data socket is opened and immediately a finished data transfer is reported.

Fixes #64