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

lua:52: Access Denied

Started by slimy, 02 February 2013 - 11:23 AM
slimy #1
Posted 02 February 2013 - 12:23 PM
so I am on a multiplayer server and my admin and I both enabled http on the server and client. I wrote an api on notepad++ and I managed to pull the file from pastebin, but I can't move it into the apis folder. Everytime I try to do a fs.move it says lua:52: Access Denied. I'm not sure if I'm doing it wrong or not, but the admin doesn't know much at all about computercraft and I'm still a bit of a noob when it comes to the directory in general and the commands.
this is what I've tried typing while in the lua interpreter

fs.move("filename", "roms/apis/filename")

and it returns

lua:52: Access Denied

Both the admin and I would be greatly appreciative if someone could help us out with this
Cranium #2
Posted 02 February 2013 - 12:29 PM
Split into new topic. Provided generic title as one was not provided.

In answer to your question, you cannot do anything within the ROM folder while in game. If you want an API to be in the APIs folder, you need to put it there yourself through mods\computercraft\lua\rom\apis

You will have to extract your ComputerCraft zip into a folder labeled 'computercraft'
slimy #3
Posted 02 February 2013 - 12:35 PM
Dang, thanks for the info though… I've been fiddling unsuccessfully for over an hour now :/