Skip to content

Error on Zero Byte File Download #195

@i2h3

Description

@i2h3

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Have an account set up with the Nextcloud desktop client and file provider domain enabled.
  2. Have a zero byte file on your Nextcloud server.
  3. Attempt to download it in Finder.

Expected behaviour

File is downloaded.

Actual behaviour

Alamofire fails with an Alamofire.AFError.ResponseSerializationFailureReason.inputDataNilOrZeroLength and file is not downloaded. It looks like Alamofire is not set up to handle empty file downloads.

Server configuration

Irrelevant.

Metadata

Metadata

Assignees

Labels

0. Needs triagePending approval or rejectionbugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions