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

Feature Request: control name of downloaded tempfile #92

Open
softwaregravy opened this issue Dec 6, 2024 · 2 comments
Open

Feature Request: control name of downloaded tempfile #92

softwaregravy opened this issue Dec 6, 2024 · 2 comments

Comments

@softwaregravy
Copy link

Currently the name of the tempfile is hardcoded. I'd like the ability to change this when calling download. Sort of like setting the destination, but no need for the copy. I am interacting.

Thoughts on supporting a change like this?

https://github.com/janko/down/blob/c9737f9da7fe1424ae3057fb390f8ad1505e7a3e/lib/down/net_http.rb#L186C33-L186C46

@janko
Copy link
Owner

janko commented Dec 9, 2024

Yes, I would accept this change 👍🏻 Would you like to submit a PR?

@softwaregravy
Copy link
Author

I'll try to get to this this week

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