Leaflet offline data sync / sync many files

Hey together,

here is a short description of what I want to do: I have an app with offline functionality and i displaying Custom Maps using Leaflet. To display these maps offline, I need to download all zoom levels to the local device.

Now the problem: I need to download thousands of small files. Currently, I using the FileTransfer plugin but this is just very slow / to slow.

So anyone knows a faster solution to download for exampel 20000 files with a total size of 400mb? Packing them is possible, but I also didn’t found a good and fast “unzip” solution either.

Best regards,
Dominik