• I mistakenly logged 2 walks in the same GPS log file. So I downloaded the file and split them. However when I upload the file I end up with quotes round the filename. How could I upload these files ? Also I am wondering what is the purpose / benefit of having these files have (Storage File) appended on the end of the filename ?


    1 Attachment

    • Screenshot 2021-03-21 18.08.47.png
  • I am wondering what is the purpose / benefit of having these files have (Storage File) appended on the end of the filename

    There are two ways/APIs how to write to storage - Storage.write/read see https://www.espruino.com/Reference#Stora­ge or StorageFile https://www.espruino.com/Reference#Stora­geFile So it is a marker to know which type it is. I guess removing it from name would break it in a way that it will be written in a 'wrong' way via the Storage.write and then won't be found by code expecting to open it via Storage.open

    EDIT: oh gordon already explained it so ignore this

About

Avatar for HughB @HughB started