In the very least I want to open up a console window with wget downloading an item.
I cannot do this.
The problem to solve. ∞
Firefox hung while surfing to a random page. When force-killed, a 16 hour download could not be resumed.
I want downloading to be independent of browsing. The way it should be.
I do not want a fancy graphical download manager. There is no need for this.
1) Create up a local file.
\cd /tmp \touch $file \7z a -mx=9 "$1".7z foo \rm --force --verbose foo
2) Open the web browser.
3) surf to file:///tmp/
4) click foo.7z
What I want ∞
A download is started in firefox.
- Be it clicking a direct file link, or having a download automatically started when visiting a page.
Configuration 1: A dialog appears for the user to select a save location.
Configuration 2: The download automatically begins, with no dialog.
A terminal window, of the user's choice, opens.
A command is automatically run in that window.
Configuration should include:
- Suggestions for terminals and their command lines.
A custom command line.
- The suggestions should be able to be copied and pasted into this custom command for editing.
Suggestions for command line tools.
- These should include things for proxy settings, referrers and cookies.
Additional privacy settings would be useful. Limited ideas:
Prevent the command from being displayed so openly as a process.
- Are there native tools to do this?
- Perhaps some command line tools can be so-instructed.
By making this flexible and customizable, the user could do much more powerful things such as:
- Direct a tool to mirror a website.
- Pass the information on to a remote computer via SSH to have that computer download it.
Wrap a script around the download, to perform actions upon download completion.
What I've tried ∞
What I see:
A window briefly appears but immediately vanishes.
What I expect:
The standard Firefox popup window appears, asking for a directory to save the file to.
- If I change this Firefox preference and set a default download directory, I do not see the file appearing in my default download location.
- A terminal window appears.
curl is used to download the file, using the appropriate referrer and cookie information.
No this isn't an AppArmor issue.
What I see:
The standard Firefox file save dialog appears. There is no option to copy the file to the clipboard.
What I expect:
The curl command is copied to the clipboard.
Second use case ∞
When downloading a file from online, the standard Firefox save dialog appears and I must manually click the copy button. Clicking dismisses the save dialog.
However, Firefox begins a background download before the user makes their choice. For example, if the user configures Firefox to always ask for a save location, then
- The user clicks the link to download.
- The firefox download dialog appears.
- The user surfs to a download location.
The download is continued, and the file is moved to that download location.
There is a hidden step between 1 and 4, where the file is being downloaded in the background.
This default behaviour means that for some file hosts the file counts as "having already recently been downloaded" and when the user copies the command to their clipboard and attempts to execute it, their download will fail. Some file hosts forbid a user from making a second download attempt on the same file.