Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

How to create a dummy file of n size

$
0
0

@jrarcher wrote:

I am building an app that will download a series of files that comprise a single object. Think of it like a book with chapters. When I load the “book” I want to be able to create a series of dummy files (the chapters) of a certain length that come with the books manifest. As the “chapters” get actually downloaded, I’ll delete the dummy file that represented the chapter.

The idea is that I want to pre-allocate space in the app for the “book” so that its storage footprint for the book is represented in the app even before all the chapters are downloaded.

Any ideas?

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>