{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1475","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1475/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1475/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1475/events","html_url":"https://github.com/esp8266/Arduino/issues/1475","id":127773503,"number":1475,"title":"opendir failed on root","user":{"login":"mytrain","id":13887597,"avatar_url":"https://avatars.githubusercontent.com/u/13887597?v=3","gravatar_id":"","url":"https://api.github.com/users/mytrain","html_url":"https://github.com/mytrain","followers_url":"https://api.github.com/users/mytrain/followers","following_url":"https://api.github.com/users/mytrain/following{/other_user}","gists_url":"https://api.github.com/users/mytrain/gists{/gist_id}","starred_url":"https://api.github.com/users/mytrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mytrain/subscriptions","organizations_url":"https://api.github.com/users/mytrain/orgs","repos_url":"https://api.github.com/users/mytrain/repos","events_url":"https://api.github.com/users/mytrain/events{/privacy}","received_events_url":"https://api.github.com/users/mytrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T20:10:32Z","updated_at":"2016-01-22T11:32:53Z","closed_at":null,"body":"With a 1.6.x version I created a file system with two (virtual) folders f1 and f2 each of them containing files\r\n\r\nin 1.6.0 invoking opendir(\"\") returned all the files of the FS.\r\nin 2.1.0 opendir(\"\") returns nothing.\r\nI've tried opendir(\"/\") but returns also nothing\r\nopendir(\"/f1\") returns nothing\r\nbut opendir(\"f1\") returns correctly all the files of f1 folder.\r\n\r\nQuestion: Knowing that I do not want to regenerate the File System how can I access the full list of file without know first level folder names ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/173891408","html_url":"https://github.com/esp8266/Arduino/issues/1475#issuecomment-173891408","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1475","id":173891408,"user":{"login":"mytrain","id":13887597,"avatar_url":"https://avatars.githubusercontent.com/u/13887597?v=3","gravatar_id":"","url":"https://api.github.com/users/mytrain","html_url":"https://github.com/mytrain","followers_url":"https://api.github.com/users/mytrain/followers","following_url":"https://api.github.com/users/mytrain/following{/other_user}","gists_url":"https://api.github.com/users/mytrain/gists{/gist_id}","starred_url":"https://api.github.com/users/mytrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mytrain/subscriptions","organizations_url":"https://api.github.com/users/mytrain/orgs","repos_url":"https://api.github.com/users/mytrain/repos","events_url":"https://api.github.com/users/mytrain/events{/privacy}","received_events_url":"https://api.github.com/users/mytrain/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T11:32:53Z","updated_at":"2016-01-22T11:32:53Z","body":"Unfortunately I'm not using IDE for uploading files, my ESP is part of a bigger project and it download information files from a server. \r\nDoes anybody know where, in the code, the regression come from ?"}}