0
When you write text to a file using any language in the Sololearn app, where is the file saved ?
Hi, For Android OS(marshmallow), does the file get saved to your phone storage or SD card, How can you retrieve it. Thanks.
6 Respostas
+ 6
You can actually write to a text file, and read from it. The file is stored on server-side, but will be wiped once your compile session ends.
https://code.sololearn.com/cat8V35WwNwr/?ref=app
+ 5
@Karl I actually have an infinite file spawner code, the trick is C.Playground should timeout before too many files are created. The files are wiped after each session so there shouldn't be any issues on server-side. :D
+ 5
@Karl I've never touched web and hence do not know.
+ 4
Don't think you can write to a file on SL, because the code is compiled/interpreted on a remote server.
+ 4
@Hatsy, no security issues with this? I wonder what would happen if someone created a bunch of files on SL's server.
+ 4
@Hatsy, do you know if you can do that with JS? I really don't think because you could potentially upload malicious code there and cause some serious problems.