Skip to content

Empty file attachments #2763

@stleitner

Description

@stleitner

Search before asking

  • I had searched in the issues and found no similar issues.

Operating System

  • macOS
  • Windows
  • Linux

Operating System Version

MacOS 13.6.1

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

3.9.9

Rocket.Chat Server Version

6.3.7

Describe the bug

When downloading a file (e.g. PDF , PNG) from a chat, the downloaded files are often empty (zero bytes) on the harddisk.

How to Reproduce

When you click on the file name, the browser opens and download fails because you are not logged in there. This results in a empty 0 byte file. No Error is displayed. When clicking on the little cloud icon, behind the filename the download starts in the desktop client and the download is succesful.

Describe your Expected behavior

Open/download the file with the filename link in the desktop client when "Protect Uploaded Files" is enabled, because in the browser the download always fails.

Anything else

Reopened issue of #1879

Are you willing to submit a code contribution?

  • Yes, I am willing to submit a Pull Request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions