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

File names can be renamed #1

Open
zbalkan opened this issue Jul 14, 2020 · 5 comments
Open

File names can be renamed #1

zbalkan opened this issue Jul 14, 2020 · 5 comments

Comments

@zbalkan
Copy link

zbalkan commented Jul 14, 2020

When clicked the download button, the downloaded file is named as random chars/id with an extension, "blob". It would be nice to rename the file on download.

@m417z
Copy link
Owner

m417z commented Jul 14, 2020

Unfortunately I'm afraid I can't change that since the files are hosted on Microsoft's servers. Perhaps somebody will come up with an way to control the filename.

@zbalkan
Copy link
Author

zbalkan commented Jul 15, 2020

I was mentioning changing on the fly. It's not possible to change the file name but it is possible to change the name in the save dialog. Content-Disposition handler can be helpful on those scenarios.

@m417z
Copy link
Owner

m417z commented Jul 15, 2020

That would require to add a proxy server, unless you had something else in mind. If you can create a JSFiddle that demonstrates how a file from the Microsoft Symbol Server is saved with a sane name with only client side code, that would be great.

@m417z
Copy link
Owner

m417z commented Mar 6, 2023

I created a sloppy userscript to help with that:
https://gist.github.com/m417z/3c6016b0c9d42b3a8692874d28954786

After installing it, files downloaded from Winbindex get file names that make sense, such as explorer_10.0.22621.1344_x64.exe.

@zbalkan
Copy link
Author

zbalkan commented Mar 10, 2023

Tried and checked. Looks great.

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