[Free] Fetch - A powerful and simple download tool

icon Fetch

Hello everyone, Fetch is a powerful file downloader extension that can download files to ASDs and as well as Download folder in all devices. It is based on Fetch library on github. This extension helps you to download big files with a lot of features. It has some main features :-

  • Ability to pause and resume downloads.
  • Network-specific downloading support.
  • Ability to retry failed downloads.
  • Easy progress and status tracking.
  • Download remaining time reporting (ETA).
  • Download speed reporting.
  • Save and Retrieve download information anytime.

Let see its blocks

All Blocks

Documentation

  • Error Occurred

    image

    This event raises when any error occurred.

  • Download Listeners

    These are download listener event that raises while listening to the download. They returns the id of the download

  • OnProgress

    image

    This event raises when the progress of a download is changed. It returns the id, download speed, ETA and progress of the download.

  • Initialize

    image

    This block initialize the Fetch instance with download concurrent limit. This block must be used first before any block.

  • Download File

    image

    Download the file of given URL to the given path with id.

  • Download Controller

    image

    These blocks pause/resume/cancel the download for given id. Download will be restarted when the download is cancelled.

  • Get File Size

    image

    Returns the total file size of the file that will be downloaded. It returns the file size in bytes. It may not work in your project it have some issues.

  • Get Downloaded Size

    image

    Returns the downloaded size of the file that is downloaded. It returns the size in bytes. It may not work in your project it have some issues.

  • GetASDPath

    image

    Returns the ASD path of your app.

  • ConvertBytes

    image

    This block converts the bytes into KB and MB automatically, You can use own calculation for converting bytes into big units.

  • Network Type

    image

    Specifies the network type on which download will be run. (This block is not tested so I am not confirm this work.

How to Use

First of all, You will have to initialize the download instance of fetch on screen initialization.

image

After initialization, you can download files this way,

image

All Blocks

Screenshots

someting

Download


Changelogs


Open Source

Extension is open source now from v1.1.0


Donate


Credit

Thanks @Shreyash for the super power full Rush .
Thanks @ammar5287 for testing. (Extension is tested in Android 7,8,11 and 12 with ASD).
Thanks @Jerin_Jacob for his awesome GetAix.

Like the extension if you like it :+1:

Suggestion and issue are welcome

Thanks you
Sumit​ :wink:

53 Likes

Thanks for the wonderful extension @iamwsumit

3 Likes

Brilliant - with all these options and especially os ver support :+1: :+1: Thank you!

2 Likes

Will it handle Google Drive Files, that do not have a filename?

Fabulous Extension :smiley:

1 Like

:heart_eyes: :star_struck: :heart_eyes:

bumber-kapil

very nice sumit.

3 Likes

Awesome :+1: extension

1 Like

Superb extension
Why not you Marge “convert Bytes” block code in “download size” or “file size” both blocks it reduces block everytime both blocks use together.

use math block. and divide :heavy_division_sign: to 1024

What an Extention… Wonderful

It could not download drive files properly until we provide big direct download link. For ex

https://doc-14-60-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/0no78ht120jh68pn1u8r6c72utbablam/1561356000000/12024208594662412395/*/1bj3kEsBDdaVolTFanb3km8XlKHvDsfgC?e=download

I could have, but many users shows download info in different ways so I think bytes should be better than any other units.

Thanks for your good posts.

Great extension, thanks!

Note: If downloading to one of the two Shared folders /Download or /Documents on devices with API < 30 you must of course request WRITE permission.

This should now make my extension DownloadToASD obsolete.

3 Likes

Hey, great job done here!

Got a few notes:

  1. when downloaded (finished) file is removed, I can’t redownload same file again even if I change the ID - it creates just 0 byte file and fires “completed”. Need to reinstall Companion to reenable. Btw. how ID does exactly works here?

  2. is it possible to give an option to download directly to scope=>private folder?

Thanks!

You should explain in more detail what you did:

  • Where did you download to?
  • With which Android version?
  • What kind of file is it (media / non-media)?
  • Was the file removed manually or via the app?
  • …

Which private folder do you mean (ASD or privateDir, internal storage)?

point 2) solved but

-still have an issue when downloaded file removed manualy AFTER downloadCompleted event
-tested on Android 7 and 10

  1. Blocks are not from Kodular, but from AI2.
  2. Where did you delete the file from the PrivateDir (internal storage)?
    This is of course not possible (without a rooted device).
  3. Did you test with Companion or the APK?
  4. Post the question on AI2 or post the correct Kodular blocks.
  1. And? The AIX is supposed to work with both of them or not?
    2.Ok, forgot about scope=>private. The behaviour is same with other folders too.
  2. both, as you can understand from original post: “to reenable download, Companion reinstall needed”.
  3. This is not a problem of the blocks IMHO, but the problem of the AIX itself. And in the situation, when Mr. Kumar started his thread here, I hope he will notice my post earlier then somewhere else. Actually I dont know if he is checking AI2 forums on regular basis. Forgive me if broke some formal rule, but I just want to solve the problem which start to be crucial because my clock is ticking…

PS: is there some PM option to contact Mr. Kumar directly?

:question:

Is this a typo?

Dear Anke, what exactly yo don’t understand? I described clearly there is a bug in the aix preventing same file being downloaded again after its been removed after donwload is complete. And I call for help to Mr. Kumar. Period. Whats unclear?