[Bug]: 'Network error: 5' when uploading certain files via client
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a **bug**, not a question or a configuration issue.
- [X] This issue is **not** already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)
### Bug description
It seems like when uploading a lot of files in one go (unavoidable sometimes) that the client seems to get stuck and give out errors. I manage to work around most of them by zipping largely populated folders. However, sometimes it isn't possible.
I notice that when uploading Final Cut Pro libraries from my Mac Nextcloud client, it never seems to be able to finish it and gives out this 'Network error: 5'. I've tried researching about what it means & how to fix it but am unable to come to a resolution.
On macOS, it treats this file type (.fcpbundle) as a file and launches Final Cut Pro when I open it, but on other operating systems, it comes up as a folder and uploads all of its contents as if it was a folder.

### Steps to reproduce
Try uploading a .fcpbundle file through Nextcloud client.
### Expected behavior
It should upload all contents inside the .fcpbundle without spitting errors or freezing/crashing.
### Which files are affected by this bug
.fcpbundle
### Operating system
Mac OS
### Which version of the operating system you are running.
Sonoma 14.6.1
### Package
Appimage
### Nextcloud Server version
Nextcloud Hub 8 (29.0.4)
### Nextcloud Desktop Client version
3.12.81
### Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.4.2 to 3.4.4)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Nextcloud Server logs
_No response_
### Additional info
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.