Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Download of file "forbidden" on production server but works fine locally #131

Open
3 tasks done
codebetjens opened this issue Jan 3, 2022 · 1 comment
Open
3 tasks done

Comments

@codebetjens
Copy link

Prerequisites

  • Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
  • Checked that your issue isn't already filed.
  • Checked if no PR was submitted that fixes this problem.

Versions

  • PHP version: 7.4.3
  • Laravel version: 7.30.4
  • Nova version: 3.29.0
  • Package version: LE ^3.1 LNE ^1.2

Description

When trying to export on my production-server, Chrome seems to be downloading the file but then it states "Failed - Forbidden" instead of downloading the file. I think it has to do with some file rights on the server, and that the renaming of the file causes this issue. The file is generated and I can download it directly with ssh.
Is there any way of disabling the renaming-process of the export-file and just keep the "ugly" name?

@patrickbrouwers
Copy link
Member

Have a look here: #85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants