eligrey / eligrey/FileSaver.js

File download name issue

Open
#670 3 comments 8 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22k
Forks
4.3k
PR merge metrics
No merged PRs in 30d

Description

Hi

When I'm downloading the file using a fileUrl where the file is served by a nginx server, I'm also providing a fileName to change while downloading the file. But the file downloaded still has the old file name instead of the one I'm providing.

```
fileUrl = http://sever.com/x.txt
fileName = y.txt
saveAs(fileUrl, fileName);

```
File downloaded has the name x.txt instead of y.txt.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.