If I upload a file called “Rev_08” to the device, it gets the name “Rev_08.11” when I inspect (mos ls)
If I try “Somename.hex”, it gets the name “Somename.hex.911”
Why? Is there any logic expl?
If I upload a file called “Rev_08” to the device, it gets the name “Rev_08.11” when I inspect (mos ls)
If I try “Somename.hex”, it gets the name “Somename.hex.911”
Why? Is there any logic expl?
File upload or save, works like this: the file is written to the temporary file name.RANDOM_NUMBER
. When saving is finished, the temporary file gets atomically renamed to the target file.
This way consistency is guaranteed: you do not get half-baked files written.
In your case, something went wrong - upload got aborted, or rename failed. What you see is a temporary file, possibly corrupted or partially saved.