was wondering if there's a way to list all of the files that are stored in the Ti.Filesystem, i know that you can get a specific file, but wondering if there was a way to do it without having to know that specific file, just to list them.
so without having to use : Ti.Filesystem.getFile(dir,filename);
any way to list all files in the Filesystem?
this any good to you?
var dirTest = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory); var dirList = dirTest.getDirectoryListing(); Ti.API.info('directory listing ' + dirList);Rob
Think you can help? Login to answer this question!