Menu

#186 Please add support for file:///... URIs

open
nobody
None
5
2012-09-28
2010-10-24
No

Hi, could you please add support for file:///some/local/path URIs?

Discussion

  • tujikawa

    tujikawa - 2010-10-29

    I think just using cp command is far more efficient for copying files.

     
  • Peter Simons

    Peter Simons - 2010-10-29

    The issue is not efficiency. I would simply like aria2c to be able to handle such an URI gracefully -- say, by calling cp --, instead of aborting with an error. This is merely a matter of convience. It's nice to be able to pass any kind of URI to aria2c, and to know that it's going to do something useful with it.

     
  • tujikawa

    tujikawa - 2010-10-30

    It might be good for aria2 to handle any kind of URIs.
    But at the moment I think aria2 is a program to download files form net and just copying files around is not its responsibility.
    I leave this thread open: maybe in the future when aria2 becomes generic file manipulation tool, like curl does today, then supporting file scheme makes sense. But I have no plan to move aria2 toward that direction for the time being.

    BTW, if you want to feed aria2 a local torrent file, you can do this:
    aria2c /path/to/file.torrent

    I think it would be good to support file URI scheme for that:
    aria2c file:///path/to/file.torrent

    Currently, this is not supported and aria2 emits error.

     

Log in to post a comment.