S3 Primary Storage and empty files not possible

Hello,

When using S3 (Wasabi in this case) as the primary storage it seems impossible to have empty (zero size) files. This problem was reported [0] in the past and looks like it was fixed [1] at some point. I’m not sure if the original problem remains or if there was a regression along the way.

References:
[0] S3 as primary storage : empty files are impossible to upload · Issue #7585 · nextcloud/server · GitHub
[1] Use S3Client::upload instead of splitting single/multipart upload ourselves by icewind1991 · Pull Request #8033 · nextcloud/server · GitHub