Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

DirectoryListings

when ever I try to use Filesystem to Retrieve DirectoryListings it does not work.

I already have the Path in which the directory is located i just want an array to return the list of files

— asked November 7th 2010 by Jermaine Byfield
  • desktop
  • filesystem
1 Comment
  • Its for Desktop

    — commented November 7th 2010 by Jermaine Byfield

1 Answer

  • this is for mobile or desktop?
    if for mobile :

    var dir = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory+'/files');
    var files = dir.getDirectoryListing();
    

    rocksteady,
    danno~

    — answered November 7th 2010 by danno watts
    permalink
    1 Comment
    • says desktop in the tag…

      — commented November 7th 2010 by Aaron Saunders
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.