Skip to content

Uploading of 0 bytes files is not possible in external storages mountpoints #26439

Description

@davitol

Steps to reproduce

  1. Upload an empty file (0 bytes) using the web UI inside a MountPoint (tested with WND and DropBox)

Expected behaviour

File is uploaded.

Actual behaviour

File is not uploaded because it has 0 bytes.
A warning is shown: "Error uploading file "0bytes": Unable to upload 0bytes as it is a directory or has 0 bytes"

Server configuration

Operating system:
Ubuntu 14.04

Web server:
Apache

Database:
MySQL

PHP version:
5.5.9

ownCloud version:
"version":"9.1.1.3","versionstring":"9.1.1"

Updated from an older ownCloud or fresh install:
Fresh

The content of config/config.php:


Are you using external storage, if yes which one: local/smb/sftp/...
Yes, DropBox and WND
Are you using encryption:
No

Logs

Client configuration

browser
Chrome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions