3 Replies Latest reply on Oct 23, 2015 3:16 PM by Intel_Peter

    Intel Edison Log Data in HDD


      I am trying to do a websocket application that stores data on the hdd of the intel edison.
      I was able to understand how to manage websockets with the example inside intel xdk


      Now my question is...how can i write a file.txt in the hdd? (the 1gb that appears as a hard disk when you connect the edison)

      I tried to use fs.writeFileSync('data.txt', data.....    but i have no idea where it is generating the txt! or how can I access it!


      I want to have access to the file.txt through my application (read/write file) and through windows explorer


      I am not sure if a solution is to copy the project inside the edison hdd and somehow run it.


      Thank you in advance!