简体   繁体   中英

How to download files from URL in Flutter and save them in iOS shared Folder?

Im pretty new to Flutter and I need a solution for the following steps:

  1. Download a zip from an url
  2. Extract the zip
  3. Save the files to a shared folder in the application (iOS)
  4. Remove the downloaded file from downloads

Thanks in advance

There is aa package that will manage downloads for you called flutter_downloader : https://pub.dev/packages/flutter_downloader

There is another package that allows you to compress and decompress files called archive : https://pub.dev/packages/archive

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM