Tatsuhiro, aria2's author is on this list & cc'ed here. you might also
want to get in touch w/ Ross Smith who does the win32 port.
aria2 meets all your needs, except maybe small size (depending on your
definition of small). it's about 1.85 MB compressed and maybe they
could get that smaller.
it also has the added benefit of being able to download from both
BitTorrent and mirrors at the same time, if you want to.
I don't know about dll/nsis plugins, or switching to expat (that would
be up to the author).
--
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
)) Easier, More Reliable, Self Healing Downloads
I don't know about dll/nsis plugins, or switching to expat (that would be up to the author).I can help with the nsis plugin, Hampus provided a nice wrapper for that
ago skrev:
I found something else that is really interesting, though. I don't think
I've tried to do this, so it might work. It seems like a Ctrl+C sent to
stdin will be translated into a SIGINT signal automatically by Windows
(it remains a mystery why they didn't create a nice api function for
doing this, though). This behaviour apparently depends on the "console
mode", but the default is that it's enabled.
See here:
http://msdn2.microsoft.com/en-us/library/ms686033.aspx
http://msdn2.microsoft.com/en-us/library/ms683462.aspx
I'll put together a small test to see if this works... This would be a
really simple solution to the problem!
Tatsuhiro skrev:
Perhaps the Windows version of aria2 could be made to read stdin (poll
it every now and then) and translate e.g. ^C (or something else, so it
doesn't collide with Windows in any way) to an interrupt handler call?
Would that be hard to add?
There is a frontend for aria2 already, that works in Windows
(aria2::gui), right? Does anyone know how it cancels a download? After
looking at a few screenshots I get the feeling that it doesn't...
Hampus Wessman skrev:
D:\aria2>d:\aria2\aria2c.exe http://test-debit.free.fr/1024.rnd
[#1 SIZE:80.0KiB/1.0MiB(7%) CN:1 SPD:491.43KiB/s ETA:01s]
2007-12-13 20:08:36 NOTICE - Shutdown sequence commencing... Press
Ctrl-C again
for emergency shutdown.
[#1 SIZE:592.0KiB/1.0MiB(57%) CN:0 SPD:0.00KiB/s]
Download Results:
(OK):download completed.(ERR):error occurred.(INPR):download
in-progress.
gid|stat|path/URI
===+====+======================================================================
1|INPR|http://test-debit.free.fr/1024.rnd
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in
help/man page
for details.
Terminer le programme de commandes (O/N) ?
> Perhaps the Windows version of aria2 could be made to read stdin (poll
> it every now and then) and translate e.g. ^C (or something else, so it
> doesn't collide with Windows in any way) to an interrupt handler call?
> Would that be hard to add?
i do not understood what do you want (bad english for me i think) but
FYI cancelling
is done in 2 steps
2007-12-13 20:08:36 NOTICE - Shutdown sequence commencing... Press
Ctrl-C again
for emergency shutdown.
if you ask how to detect a CTRL+C:
- ask errorlevel management ?
- read a variable %ERRORLEVEL ?
- easy temporary hack is to create a temporary file which contains
scancode "ctrl-c" on file content ?
what is this ? ;)
thanks of you answer,
aria is stopped. aria2 not ;) it is true flashgot can purpose aria2 now
;)
IMHO i think curl is a well known tool thanks to the "libary mode" ;)
> > 2) Has anybody managed to crosscompile aria2 for windows on a linux
> > box?
>
> aria2 win32 package in sf.net is made by Ross.
> http://smithii.com/aria2
but ross can compile win32 version under a win OS ;)
>
> > 3) Is there any build option I should consider to save space?
> >
> If you don't require BitTorrent functionality, you can drop that by
> giving --disable-bittorrent to configure script.
??????? where is the gain ? in a hidden temp file or directory ?????
> Should make the executable smaller. Not that important if you're just
> going to use it yourself, but can be useful if you're going to
> distribute it over the net (like Wubi). Probably makes the memory
> foot-print smaller too.
hmmm.... wubi or equivalent tools will prefer static links (FTP/HTTP)
why not ? but they are too two another "concepts" (bt+http or bt+ftp)
instead of classical aria2c http/ftp/bt protocols...
if you speak to stay light aria2c core in wubi you must delete some
functiond on it ;)
2008-02-25: Wubi now ships with Ubuntu Live CD 8.04 Alpha5, also
available in stand-alone mode here:
http://people.ubuntu.com/~evand/wubi Please report any feedback in the
wubi forum ( http://ubuntuforums.org/forumdisplay.php?f=234 )
http://www.downloadsquad.com/2008/02/23/ubuntu-8-04-alpha-5-released/
--
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
)) Easier, More Reliable, Self Healing Downloads