We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

toki4004's avatar
toki4004
Helpful | Level 5
2 years ago

Download ANY file in folder

To download a file I need a full path. What if I don't know the name of the file? How would I list that path then to grab any txt file? "path": "/Homework/math/Prime_Numbers.txt"  
  • Здравко's avatar
    2 years ago

    toki4004, You can search for such files using /2/files/search_v2/continue_v2. Just restrict the search to particular extension and look in filename only with the same string as the extension. In the resulting list you will see all such files with their paths, ids, and revisions (you can use anything of them to download particular file or set of files).

    Hope this helps.