# Sabre\\DAV\\Exception\\BadRequest: expected filesize

**URL:** <https://help.nextcloud.com/t/sabre-dav-exception-badrequest-expected-filesize/61259>\
**Category:** ℹ️ Support\
**Tags:** ncp\
**Created:** [October 3, 2019, 7:46am UTC](https://help.nextcloud.com/t/sabre-dav-exception-badrequest-expected-filesize/61259 "2019-10-03T07:46:29Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Infopal](https://help.nextcloud.com/letter_avatar/infopal/32/6_22734026db12803ebb3e059622ac3534.png) [@Infopal](https://help.nextcloud.com/u/Infopal)\
**Post date:** [March 12, 2021, 7:45pm UTC](https://help.nextcloud.com/t/sabre-dav-exception-badrequest-expected-filesize/61259/10 "2021-03-12T19:45:23Z")

</div>

Hello, I’m struggling with 100-130 B/s (not mega, kilo, but bytes per second) upload speed from Firefox (or any browser) to Nextcloud and tried also this tmp path correction, without succes. ([Nextcloud 18 transfer speed slow - #12 by tflidd](https://help.nextcloud.com/t/nextcloud-18-transfer-speed-slow/77488/12))

10G filesize limit is set, and it works fine with Linux, copying to Nextcloud directory which is visible in Nautilus (default Ubuntu file browser) 70-100 Mbit/s and also from Android Nextcloud client.

My configs now related to tmp

**/etc/php/7.4/fpm/php.ini**  
sys\_temp\_dir = “/usr/share/nginx/nextcloud/data/tmp”  
**/usr/share/nginx/nextcloud/config/config.php**  
‘tempdirectory’ =\> ‘/usr/share/nginx/nextcloud/data/tmp’,  
**and directory rights**  
drwxr-xr-x 2 www-data www-data 4096 Mar 12 21:01 tmp

I have enabled debugging/info logging, but it doesn’t give any hint related to this issue.

---

_[View the full topic](https://help.nextcloud.com/t/sabre-dav-exception-badrequest-expected-filesize/61259)._
