This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
v5008's profile picture

CC in direwolf 20 1.5 v2 fs.write bug [NoBug]

Started by v5008, 13 August 2014 - 04:21 PM
v5008 #1
Posted 13 August 2014 - 06:21 PM
When you write to a file, the computer must be restarted in order for the file to not be blank, or the player needs to rejoin the server.
Cranium #2
Posted 13 August 2014 - 06:41 PM
That…or you forgot to close the file handle.
You might want to double check how the fs API works.

Specifically, the close function exposed when a file handle is opened.
Edited on 13 August 2014 - 04:43 PM