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

Changing Filename of the downloaded file without a prompt #85

Closed
SaiKDot opened this issue Jun 24, 2019 · 1 comment
Closed

Changing Filename of the downloaded file without a prompt #85

SaiKDot opened this issue Jun 24, 2019 · 1 comment

Comments

@SaiKDot
Copy link

SaiKDot commented Jun 24, 2019

I want to save the downloaded link with a different name. Using saveAs:true opens a prompt window and asks for filname.Is there any other way?

@sis-dk
Copy link

sis-dk commented Jul 10, 2019

Did you see the 'filename' option?

filename
Type: string
Default: downloadItem.getFilename()

Name of the saved file.

This option only makes sense for electronDl.download()

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

3 participants