rn-fetch-blob icon indicating copy to clipboard operation
rn-fetch-blob copied to clipboard

'overwrite' not working properly

Open meetjpatel opened this issue 5 years ago • 3 comments

react-native: 0.57.7 rn-fetch-blob: 0.10.15 platform: iOS

Source code:

RNFetchBlob.config({
    path : PATH_OF_AN_EXISTING_FILE,
    overwrite : false
})
.fetch('GET', 'http://www.example.com')
.then((res) => { })

When we use 'overwrite' flag as false, file starts downloading from beginning and append the data to the already downloaded file, making that file useless. I need to start the downloading from the point where I stopped.

Essentially what I want to do is, start the download, terminate the app, start the app, downloading should be resumed, not restart.

Is there anything I am missing here? Appreciate your help. Thanks!

meetjpatel avatar Jul 29 '19 04:07 meetjpatel

I am facing this same issue. Has anyone solved it ?

aliraza96 avatar Jan 17 '22 06:01 aliraza96

I am also facing the same issue, can someone help me with this?

yksingh12 avatar Feb 28 '23 08:02 yksingh12

Facing same issue, Are you getting update regrading same? Or is there any other way to do that operation?

mittalkamal29 avatar Oct 04 '23 13:10 mittalkamal29