To leverage the overall usefulness, JCommander should
be able to work as a download manager.
Not much work has to be done to achieve this.
On the browser side:
A very popular Firefox extension named FlashGot is
already supporting several external download managers.
It should be possible to have them integrate JCommander
as well. FlashGot already supports Windows, Linux and
Mac OS X and as such could support JCommander on all
three systems.
On the JCommander side:
Regarding the connection between the browser plugin
and JCommander, the most elegant would be to have this
feature implemented: [ 1366374 ] Enforce singleton
JCommander instance from
https://sourceforge.net/tracker/index.php?func=detail&;aid=1366374&group_id=35271&atid=413698
Once this available, the JCommander executable could be
called by the browser plugin with a predefined switch
(like -downloadURL <the file="" to="" download="">) and would
display the copy confirmation dialog for that URL. </the>
Additionally, there should be a way to alter the
destination directory for the copy operation either by
choosing a bookmarked location (basically any VFS URL)
or a directory with SWT's directory chooser. <
Logged In: YES
user_id=940779
The integration with Firefox would be the easiest with
DownloadWith. On the other hand Flashgot is much more
popular and it seems that a much tighter integration can be
achieved with it.
This is a relevant entry in the FlashGot FAQ:
http://www.flashgot.net/faq#qa3_4
Logged In: YES
user_id=1394981
I contacted the author of FlashGot and got a short response:
"It looks like a great idea.
I'll get in contact with you as soon as I've got a few
minutes to breath ;)"
Logged In: YES
user_id=940779
This does not sound too promissing. I fear that we need to
make the contribution if we want JCommander integrated with
FlashGot. We should look at some tutorial on how to do the
binginds. On the other hand we will still use the command
line interface for JCommander and maybe we don't need to
write C++ bindings for this.
Logged In: YES
user_id=940779
I have investigated a little big more what FlashGot can do
and there's a relatively easy way of setting up a download
manager profile with a command line interface. So we can
easily do it and contribute it to the FlashGot codebase, so
that it will be automatically distributed with it.
With the [1366374] "Enforce singleton JCommander instance"
feature request we'll have some advances next week. In fact
when that feature request will be closed we can proceed with
this one relatively fast.