itinance / react-native-fs

Native filesystem access for react-native
MIT License
4.94k stars 975 forks source link

Download files in batches #983

Open codthing opened 3 years ago

codthing commented 3 years ago

Is there a way to download files in batches, similar to axios.all. For example, I have a set of data returned by a web server, and I request fileUrl files based on the returned data, Of course, it also needs to delete local files with the same name.

[
  {
    "id": "1",
    "fileUrl": "ed2k://1.ts"
  },
  {
    "id": "2",
    "fileUrl": "ed2k://2.ts"
  }
]

image 无标题-2021-02-19-1555 (1)

yorickshan commented 1 year ago

same issue