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

Reading File Outside Computer's Folder?

Started by mazetar, 18 August 2013 - 03:01 PM
mazetar #1
Posted 18 August 2013 - 05:01 PM
How do I read/write from a file outside the computer's folder on the server's file system?
I'm wanting to do something like reading a file at the path "../mazStuff/fileName.txt"
I tried everything I could think of, even shell.dir() + "../mazStuff/fileName.txt" but it seems I will always get a nil value.
So I assume I can't navigate outside the computer's folder?
Lyqyd #2
Posted 19 August 2013 - 06:49 PM
Split into new topic.

No, you can't, and for very good reason.