I think right now there's actually no way to upload a file as a StorageFile using the IDE. About all you could do is upload to a normal file, and then use some code on Espruino to copy the standard File to a StorageFile.
I'm not 100% sure but this may be all you need:
s = require("Storage");
s.open(".gpsrc3", "w").write(s.read("myuploadedfile"));
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The issue is that
xyz (StorageFile)
isn't actually the filename, it's just a note to say it's a different kind of file - see http://www.espruino.com/Reference#StorageFileI think right now there's actually no way to upload a file as a StorageFile using the IDE. About all you could do is upload to a normal file, and then use some code on Espruino to copy the standard File to a StorageFile.
I'm not 100% sure but this may be all you need:
If the plan is to just be able to export the GPS data though then @Serj actually make an exporter that works outside of Bangle.js: http://forum.espruino.com/conversations/360747/#15864867