Can't upload directory via web?

Hello guys!

why I can’t upload directory via web (drag-n-drop)?


Nextcloud 11.0.3
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
Apache/2.4.10 (Raspbian)

php -v

PHP 7.0.16-4+0~20170306095027.1+jessie~1.gbp278b8e (cli) (built: Mar 6 2017 14:42:18) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright © 1998-2017 Zend Technologies
with Zend OPcache v7.0.16-4+0~20170306095027.1+jessie~1.gbp278b8e, Copyright © 1999-2017, by Zend Technologies

Log:

Sabre\DAV\Exception\BadRequest: HTTP/1.1 400 expected filesize 204 got 0
/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 137: OCA\DAV\Connector\Sabre\File->put(Resource id #85)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1072: OCA\DAV\Connector\Sabre\Directory->createFile(‘Bot-mac’, Resource id #85)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile(‘Bot-mac’, Resource id #85, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit(‘method PUT’, Array)
/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
/var/www/html/nextcloud/remote.php - line 165: require_once(’/var/www/html/n…’)
{main}

any files upload success (all sizes, for example I upload 10 gb .iso - OK).
but upload directory via drag-n-drop - error.

all folder chown www-data

With wich browser did you try it? AFAIK uploading directories only works with chrome and not with firefox

latest safari. oh yeah.

resolved)
in chrome - well ok :slight_smile:

my regards.