As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
i want to create a function that checks if a file already was downloaded from the kinvey backend, so to use them instead of downloading them again and again.
Problem:
I can't find the loaded files on my ios simulator, so i don't know where to look for them. So the question is as simple as that - where does the download function from the kinvey SDK save the files? (In this Case using Titanium / ios (but android is interesting, too)
A hint would be great. :smile:
Best, Nico
1 Comment
M
Mark
said
over 9 years ago
The files aren’t saved to disk, but are returned as part of the `promise.then` fulfilled handler. The content of a file is available as follows:
```
var promise = Kinvey.File.download('file-id');
promise.then(function(response) {
var file = response._data;
// Use Titanium.Filesystem.File to save the file in disk, if you wish.
Nico Barelmann
i want to create a function that checks if a file already was downloaded from the kinvey backend, so to use them instead of downloading them again and again.
Problem:
I can't find the loaded files on my ios simulator, so i don't know where to look for them. So the question is as simple as that - where does the download function from the kinvey SDK save the files? (In this Case using Titanium / ios (but android is interesting, too)
A hint would be great. :smile:
Best, Nico