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

Prevent Firefox from initiating download #77

Open
wfaulk opened this issue Jul 12, 2021 · 1 comment
Open

Prevent Firefox from initiating download #77

wfaulk opened this issue Jul 12, 2021 · 1 comment

Comments

@wfaulk
Copy link

wfaulk commented Jul 12, 2021

Some web sites apparently create download-once links, and that means that if Firefox starts downloading the file, trying to use the generated curl command doesn't work because the server has detected that a download has already been attempted from elsewhere, despite the fact that the command would likely work if that hadn't happened.

Is it possible to get cliget to prevent Firefox from initiating the download at all?

@rieje
Copy link

rieje commented Feb 2, 2022

Agreed, also some commands will rename the file automatically unless you delete the one automatically produced by Firefox as soon as it initiated the download, which is annoying.

I think a way to easily implement this would be to have the user copy the link and give it to cliget for it to produce the link so Firefox never attempts to download. I was looking for this behavior as soon as I tried cliget for the first time.

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