Skip to main content
Inspiring
June 20, 2014
Answered

reading in contents of a directory

  • June 20, 2014
  • 1 reply
  • 422 views

Is it possible with jsx to retrieve a list of all files in a direcotry and then place them into an array? I believe this is not possible with normal browser based javascript but am hoping that there it might be possible in AE.

This topic has been closed for replies.
Correct answer Paul Tuersley

Use .getFiles() on a folder object. i.e.

myFileArray = myFolderObject.getFiles();

1 reply

Paul TuersleyCorrect answer
Inspiring
June 20, 2014

Use .getFiles() on a folder object. i.e.

myFileArray = myFolderObject.getFiles();

brendanTAuthor
Inspiring
June 20, 2014

Thanks